From 9d60047616661dc073ca6310193c2e18a3aaa59c Mon Sep 17 00:00:00 2001 From: Jakub Steiner Date: Thu, 6 Aug 2020 15:52:33 +0200 Subject: Adwaita: force circular imagebuttons to be square Addresses https://gitlab.gnome.org/GNOME/gnome-clocks/-/merge_requests/123#note_884741 --- gtk/theme/Adwaita/_common.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index b33455d539..15e2dd6e46 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -542,6 +542,10 @@ button { min-width: 24px; padding-left: 5px; padding-right: 5px; + + &.circular { + min-height: 24px; + } } &.text-button { -- cgit v1.2.1 From 96500816bc2e459399f74c7251749642875e0277 Mon Sep 17 00:00:00 2001 From: Jakub Steiner Date: Fri, 7 Aug 2020 18:58:32 +0200 Subject: Adwaita: add public color for text views - define @text_view_bg to complement @theme_text_color for high contrast legible text views. Fixes https://gitlab.gnome.org/GNOME/vte/-/issues/226 --- gtk/theme/Adwaita/_colors-public.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk/theme/Adwaita/_colors-public.scss b/gtk/theme/Adwaita/_colors-public.scss index 8ccc3413cc..3b638e2bf6 100644 --- a/gtk/theme/Adwaita/_colors-public.scss +++ b/gtk/theme/Adwaita/_colors-public.scss @@ -112,5 +112,8 @@ read if you used those and something break with a version upgrade you're on your //FIXME this is really an API +/* content view background such as thumbnails view in Photos or Boxes */ @define-color content_view_bg #{"" + $base_color}; +/* Very contrasty background for text views (@theme_text_color foreground) */ +@define-color text_view_bg #{"" + if($variant == 'light', $base_color, darken($base_color,6%))}; -- cgit v1.2.1