From 739280d6aac054086219f2ee7e8b93ec62a76e8b Mon Sep 17 00:00:00 2001 From: dam Date: Fri, 10 May 2024 16:06:40 +0100 Subject: Fixed styles to work better both on white and dark themes. --- ttt.jai | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'ttt.jai') diff --git a/ttt.jai b/ttt.jai index 33d5282..f0d22be 100644 --- a/ttt.jai +++ b/ttt.jai @@ -83,7 +83,8 @@ pos_y : int; style_default := TUI.Style.{ background = TUI.Palette.BLACK, foreground = TUI.Palette.WHITE, - // use_default_background_color = true, TODO + use_default_background_color = true, + use_default_foreground_color = true, }; style_selected := TUI.Style.{ @@ -95,14 +96,14 @@ style_selected_inverted := TUI.Style.{ background = TUI.Palette.BLACK, foreground = TUI.Palette.CYAN, bold = true, - // use_default_background_color = true, TODO + use_default_background_color = true, }; style_active := TUI.Style.{ background = TUI.Palette.BLACK, foreground = TUI.Palette.BLUE, bold = true, - // use_default_background_color = true, TODO + use_default_background_color = true, }; style_active_selected := TUI.Style.{ @@ -115,7 +116,7 @@ style_error := TUI.Style.{ background = TUI.Palette.BLACK, foreground = TUI.Palette.RED, bold = true, - // use_default_background_color = true, TODO + use_default_background_color = true, }; Layouts :: enum u8 { -- cgit v1.2.3