summaryrefslogtreecommitdiff
path: root/compat/fopen.c
diff options
context:
space:
mode:
authorLibravatar Serg Tereshchenko <serg.partizan@gmail.com>2020-09-26 17:54:43 +0300
committerLibravatar Pratyush Yadav <me@yadavpratyush.com>2020-10-07 16:44:24 +0530
commitc02efc13638447f9af0be6cb158a6c1a8dd4c727 (patch)
tree996d932e826b3b929f9a1054fc629d3fbeccf653 /compat/fopen.c
parentMerge branch 'st/spaces-tabs-cleanup' into master (diff)
downloadtgif-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 'compat/fopen.c')
0 files changed, 0 insertions, 0 deletions