diff options
| author | dam <dam@gudinoff> | 2024-05-10 16:06:40 +0100 |
|---|---|---|
| committer | dam <dam@gudinoff> | 2024-05-10 16:06:40 +0100 |
| commit | 739280d6aac054086219f2ee7e8b93ec62a76e8b (patch) | |
| tree | 4cf77e892de57d5f38add1e0ac9e4774b76ec2b0 | |
| parent | af6221d2b3d6d9f524959ffd15766a171f3ad798 (diff) | |
| download | task-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.jai | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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 { |
