summaryrefslogtreecommitdiff
path: root/gtk/theme
diff options
context:
space:
mode:
authorJakub Steiner <jimmac@gmail.com>2021-01-07 12:44:53 +0100
committerJakub Steiner <jimmac@gmail.com>2021-01-07 12:44:53 +0100
commit3a5eee7dbe127d32b38764cd546a5c1d071af4da (patch)
tree8286af8e73855e48bcd4704b5f06a112223c301d /gtk/theme
parent0d99ef7cee14dbe57b1d670561d67856d9dcbd20 (diff)
downloadgtk+-3a5eee7dbe127d32b38764cd546a5c1d071af4da.tar.gz
HC: switch border color
- lighten inverted HC borders while darkening the regular/light variant Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3460
Diffstat (limited to 'gtk/theme')
-rw-r--r--gtk/theme/HighContrast/_colors-hc.scss2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/theme/HighContrast/_colors-hc.scss b/gtk/theme/HighContrast/_colors-hc.scss
index b91e12ca38..f1535a64cf 100644
--- a/gtk/theme/HighContrast/_colors-hc.scss
+++ b/gtk/theme/HighContrast/_colors-hc.scss
@@ -22,3 +22,5 @@ $focus_border_color: if($variant == 'light', transparentize($selected_bg_color,
$alt_focus_border_color: if($variant == 'light', white, transparentize(white,0.4));
$dim_label_opacity: 0.9;
+
+$switch_borders_color: if($variant == 'light',darken($switch_bg_color,15%),lighten($switch_bg_color,15%));