swh:1:snp:87728f882295b5ba27035837248a04c5be121c53
Revision c02efc13638447f9af0be6cb158a6c1a8dd4c727 authored by Serg Tereshchenko on 26 September 2020, 14:54:43 UTC, committed by Pratyush Yadav on 07 October 2020, 11:14:24 UTC
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>
1 parent 95bfc6c
History
Tip revision: 6c40894d2466d4e7fddc047a05116aa9d14712ee authored by Junio C Hamano on 30 August 2021, 23:06:22 UTC
The second batch
Tip revision: 6c40894
File Mode Size
lib
macosx
po
windows
.gitattributes -rw-r--r-- 194 bytes
.gitignore -rw-r--r-- 97 bytes
GIT-VERSION-GEN -rwxr-xr-x 1.8 KB
Makefile -rw-r--r-- 11.5 KB
README.md -rw-r--r-- 6.1 KB
git-gui--askpass -rwxr-xr-x 1.5 KB
git-gui.sh -rwxr-xr-x 103.3 KB

README.md

back to top