mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
style: High-contrast fixes and color adjustments
- pull in the palette changes to the HC css - adjust the color definitions for HC - address some of the problems with hover states in HC - reworked drawing functions for HC Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2284>
This commit is contained in:
parent
afcd58e3ba
commit
8713f9d878
8 changed files with 114 additions and 85 deletions
|
|
@ -35,18 +35,6 @@ $base_border_radius: 8px;
|
|||
// radii of things that display over other things, e.g. popovers
|
||||
$modal_radius: $base_border_radius*2; // 24px
|
||||
|
||||
// derived hover colors
|
||||
$hover_bg_color: if($variant=='light', darken($bg_color, 3%), lighten($bg_color, 4%));
|
||||
$hover_fg_color: if($variant=='light', darken($fg_color, 5%), lighten($fg_color, 4%));
|
||||
|
||||
// derived active colors
|
||||
$active_bg_color: if($variant=='light', darken($bg_color, 5%), lighten($bg_color, 6%));
|
||||
$active_fg_color: if($variant=='light', darken($fg_color, 5%), lighten($fg_color, 6%));
|
||||
|
||||
// derived checked colors
|
||||
$checked_bg_color: if($variant=='light', darken($bg_color, 7%), lighten($bg_color, 9%));
|
||||
$checked_fg_color: if($variant=='light', darken($fg_color, 7%), lighten($fg_color, 9%));
|
||||
|
||||
// fonts
|
||||
$base_font_size: 11;
|
||||
$text_shadow_color: if($variant == 'light', rgba(255,255,255,0.3), rgba(0,0,0,0.2));
|
||||
|
|
@ -118,7 +106,6 @@ stage {
|
|||
// lighter in color and have a greater radius
|
||||
|
||||
$bubble_button_radius:$base_border_radius*1.25;
|
||||
$bubble_buttons_color: if($variant == 'light', darken($bg_color, 12%), lighten($bg_color, 7%));
|
||||
|
||||
%bubble_button {
|
||||
padding: $base_padding * 2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue