style: Fix color and margin issue in notification and dialog buttons

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3138>
This commit is contained in:
Sam Hewitt 2024-01-23 11:47:09 -03:30 committed by Marge Bot
parent 0c120ca727
commit 38944e1c8f
2 changed files with 4 additions and 1 deletions

View File

@ -193,6 +193,9 @@ stage {
padding: $base_padding * 2;
font-weight: bold !important;
&:ltr {margin-right: 1px;}
&:rtl {margin-left: 1px;}
// needs a 1px adjustment to fit exactly into the outer radius
$bubble_button_radius: $modal_radius - 1px;

View File

@ -154,7 +154,7 @@
// background color override for card elements
@if $style == 'card' { $button_bg_color: $card_bg_color;}
// background color override for buttons in notifications
@if $style == 'bubble' { $button_bg_color: if($variant == 'light', darken($button_bg_color, 3%), lighten($button_bg_color, 10%));}
@if $style == 'bubble' { $button_bg_color: if($variant == 'light', darken($button_bg_color, 3%), lighten($button_bg_color, 5%));}
// background color mix override for flat style; the button bg color is the background color input
@if $style == 'flat' { $button_bg_color: $c;}
// background color mix override for default button style