aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordam <dam@gudinoff>2024-05-10 16:06:40 +0100
committerdam <dam@gudinoff>2024-05-10 16:06:40 +0100
commit739280d6aac054086219f2ee7e8b93ec62a76e8b (patch)
tree4cf77e892de57d5f38add1e0ac9e4774b76ec2b0
parentaf6221d2b3d6d9f524959ffd15766a171f3ad798 (diff)
downloadtask-time-tracker-739280d6aac054086219f2ee7e8b93ec62a76e8b.tar.zst
task-time-tracker-739280d6aac054086219f2ee7e8b93ec62a76e8b.zip
Fixed styles to work better both on white and dark themes.
-rw-r--r--ttt.jai9
1 files changed, 5 insertions, 4 deletions
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 {