From 116a157e170dee753545610546dbbdbfb4d3ad44 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 1 Nov 2022 18:25:36 -0700 Subject: [PATCH] change defaults to be more aesthetically pleasing --- src/config.zig | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/config.zig b/src/config.zig index 0b937bf73..9cd4ebdc3 100644 --- a/src/config.zig +++ b/src/config.zig @@ -22,13 +22,18 @@ pub const Config = struct { @"font-family-bold-italic": ?[:0]const u8 = null, /// Font size in points - @"font-size": u8 = 12, + @"font-size": u8 = switch (builtin.os.tag) { + // On Mac we default a little bigger since this tends to look better. + // This is purely subjective but this is easy to modify. + .macos => 13, + else => 12, + }, /// Background color for the window. - background: Color = .{ .r = 0, .g = 0, .b = 0 }, + background: Color = .{ .r = 0x28, .g = 0x2C, .b = 0x34 }, /// Foreground color for the window. - foreground: Color = .{ .r = 0xFF, .g = 0xA5, .b = 0 }, + foreground: Color = .{ .r = 0xFF, .g = 0xFF, .b = 0xFF }, /// The command to run, usually a shell. If this is not an absolute path, /// it'll be looked up in the PATH. If this is not set, a default will