diff options
author | Serg Tereshchenko <serg.partizan@gmail.com> | 2020-09-26 17:54:43 +0300 |
---|---|---|
committer | Pratyush Yadav <me@yadavpratyush.com> | 2020-10-07 16:44:24 +0530 |
commit | c02efc13638447f9af0be6cb158a6c1a8dd4c727 (patch) | |
tree | 996d932e826b3b929f9a1054fc629d3fbeccf653 /t/t4018/css-short-selector-list | |
parent | Merge branch 'st/spaces-tabs-cleanup' into master (diff) | |
download | tgif-c02efc13638447f9af0be6cb158a6c1a8dd4c727.tar.xz |
git-gui: improve dark mode support
The colors of some ttext widgets are hard-coded. These hard-coded colors
are okay with a light theme but with a dark theme some widgets are dark
colored and the hard-coded ones are still light. This defeats the
purpose of applying the theme and makes the UI look very awkward.
Remove the hard-coded colors in ttext calls and use colors from the
theme for those widgets via Text.Background and Text.Foreground from the
option database.
Similarly, the highlighting for the currently selected file(s) in the
"Staged Files" and "Unstaged Files" sections is also hard-coded. Pull
the colors for that from the current theme to make sure it is in line
Signed-off-by: Serg Tereshchenko <serg.partizan@gmail.com>
Signed-off-by: Pratyush Yadav <me@yadavpratyush.com>
Diffstat (limited to 't/t4018/css-short-selector-list')
0 files changed, 0 insertions, 0 deletions