From 25927629d519cf2ffddf26d97ca0e42122282733 Mon Sep 17 00:00:00 2001 From: Christopher Davis Date: Wed, 20 Oct 2021 11:11:31 -0700 Subject: [PATCH 1/4] CSS: Only recolor main window Due to the nature of contrast, things can easily become unreadable at low contrast levels. We should limit that to just the main window instead of keyboard shortcuts and the about dialog. --- data/resources/style.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/data/resources/style.css b/data/resources/style.css index 6b53cd7..9681f7f 100644 --- a/data/resources/style.css +++ b/data/resources/style.css @@ -1,7 +1,7 @@ -window, -headerbar, -popover arrow, -popover contents { +window.main-window , +.main-window headerbar, +.main-window popover arrow, +.main-window popover contents { background: @background_color; color: @foreground_color; } -- GitLab From 01af774f8bd363f1655ea015a0b3c12520a231c7 Mon Sep 17 00:00:00 2001 From: Christopher Davis Date: Wed, 20 Oct 2021 11:19:19 -0700 Subject: [PATCH 2/4] CSS: Don't explicitly set entry colors These should match the colors set by Adwaita by default. There should be no worries since we use FORCE_LIGHT. --- data/resources/style.css | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/data/resources/style.css b/data/resources/style.css index 9681f7f..078d08e 100644 --- a/data/resources/style.css +++ b/data/resources/style.css @@ -12,17 +12,12 @@ headerbar { .main-window .main-container { background: @background_color; } -entry { - background-color: white; - color: black; -} + entry selection{ color: @background_color; background-color: @foreground_color; } -entry image { - color: black; -} + .fg-entry image.left{ color: @foreground_color; } -- GitLab From 5a5c28de776c0252b8a7919d59280ff1ac42b866 Mon Sep 17 00:00:00 2001 From: Christopher Davis Date: Wed, 20 Oct 2021 11:22:55 -0700 Subject: [PATCH 3/4] window.ui: Make primary menu circular This is standard for tool window apps. --- data/resources/ui/window.ui | 1 + 1 file changed, 1 insertion(+) diff --git a/data/resources/ui/window.ui b/data/resources/ui/window.ui index 0b97fc9..dfc868b 100644 --- a/data/resources/ui/window.ui +++ b/data/resources/ui/window.ui @@ -62,6 +62,7 @@ open-menu-symbolic -- GitLab From 2d361fde4679d9ca3b263642031ca4fb772398c1 Mon Sep 17 00:00:00 2001 From: Christopher Davis Date: Wed, 20 Oct 2021 11:23:30 -0700 Subject: [PATCH 4/4] window.ui: Remove .flat style class from header buttons Headerbar buttons are flat by default. --- data/resources/ui/window.ui | 4 ---- 1 file changed, 4 deletions(-) diff --git a/data/resources/ui/window.ui b/data/resources/ui/window.ui index dfc868b..7ec90f6 100644 --- a/data/resources/ui/window.ui +++ b/data/resources/ui/window.ui @@ -39,9 +39,6 @@ center Reverse Colours win.reverse-colors - @@ -61,7 +58,6 @@ menu open-menu-symbolic -- GitLab