diff options
author | Sam Hewitt <sam@snwh.org> | 2022-02-02 14:47:42 -0330 |
---|---|---|
committer | Florian Müllner <fmuellner@gnome.org> | 2022-02-14 23:46:52 +0100 |
commit | f1e0c875fd0c9dfa8ae6a70b95b082c5db26d7c7 (patch) | |
tree | 14ad631bce578767cfefcdbe778971f88373590e /_colors.scss | |
parent | dde076bd76ed4b3504e3d4865ca6a09a4f4908be (diff) | |
download | gnome-shell-sass-f1e0c875fd0c9dfa8ae6a70b95b082c5db26d7c7.tar.gz |
theme: Papercut fixes from 42 refresh
- simplified drawing functions
- refactored button drawing
- dropped arrow from all popovers
- cleaned out some legacy css
- fixed many of the issues in #4969
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2150>
Diffstat (limited to '_colors.scss')
-rw-r--r-- | _colors.scss | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/_colors.scss b/_colors.scss index 31698b2..c659acd 100644 --- a/_colors.scss +++ b/_colors.scss @@ -1,7 +1,7 @@ // When color definition differs for dark and light variant, // it gets @if-ed depending on $variant -$base_color: if($variant == 'light', #fff, lighten(desaturate(#2a2a2a, 20%), 2%)); +$base_color: if($variant == 'light', #fff, darken(desaturate(#2a2a2a, 20%), 2%)); $bg_color: if($variant == 'light', #f6f5f4, #2a2a2a); $fg_color: if($variant == 'light', transparentize(black, .2), white); @@ -9,12 +9,11 @@ $selected_fg_color: #fff; $selected_bg_color: if($variant == 'light', #3584e4, #1c71d8); $selected_borders_color: if($variant== 'light', darken($selected_bg_color, 15%), darken($selected_bg_color, 30%)); -$borders_color: if($variant == 'light', darken($bg_color, 12%), darken($bg_color, 4%)); +$borders_color: if($variant == 'light', transparentize($fg_color, .5), transparentize($fg_color, .9)); $borders_edge: if($variant == 'light', rgba(255,255,255,0.8), lighten($bg_color, 2%)); $link_color: if($variant == 'light', darken($selected_bg_color, 10%), lighten($selected_bg_color, 20%)); $link_visited_color: if($variant == 'light', darken($selected_bg_color, 20%), lighten($selected_bg_color, 10%)); -$top_hilight: $borders_edge; $warning_color: if($variant == 'light', #e5a50a, #f5c211);; $error_color: if($variant == 'light', #e01b24, #c01c28); |