Branch: refs/heads/master Author: Forest forestcode@ixio.org Committer: Forest forestcode@ixio.org Date: Tue, 01 Oct 2019 19:39:02 UTC Commit: 9f049a7b40838e4f026270533eb877761e7f6945 https://github.com/geany/geany/commit/9f049a7b40838e4f026270533eb877761e7f69...
Log Message: ----------- Define text color when setting dark background
Some Gtk themes define a dark foreground color for selected text, so when we set the background to dark red, it becomes difficult to read. We must therefore set a foreground color that will remain legible against our background.
Fixes #2332
Modified Paths: -------------- data/geany.css data/geany.gtkrc
Modified: data/geany.css 1 lines changed, 1 insertions(+), 0 deletions(-) =================================================================== @@ -22,6 +22,7 @@ } #geany-search-entry-no-match:selected /* GTK < 3.20 */, #geany-search-entry-no-match selection /* GTK >= 3.20 */ { + color: #fff; background-color: #771111; }
Modified: data/geany.gtkrc 1 lines changed, 1 insertions(+), 0 deletions(-) =================================================================== @@ -21,6 +21,7 @@ style "geany-search-entry-no-match-style" { base[NORMAL] = "#ffff66666666" text[NORMAL] = "#ffffffffffff" base[SELECTED] = "#777711111111" + text[SELECTED] = "#ffffffffffff" # try and remove the entry background image on pixmap engine so that our # background color is visible, and we don't end up with white text on white # background (workaround for Adwaita 3.20).
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).