mirror of
https://git.disroot.org/eudaimon/Simplewaita.git
synced 2026-03-12 05:15:18 +00:00
fixed special buttons foreground color, plus adjusted backdrop selected color
This commit is contained in:
parent
9d17a971ad
commit
6c1ab52306
10 changed files with 348 additions and 335 deletions
|
|
@ -15,7 +15,7 @@ $button_checked_fg: $selected_fg;
|
|||
$disabled_fg: #552222;
|
||||
$disabled_bg: #938989;
|
||||
|
||||
//these might have white text on them or window_fg text, bear it in mind when chosing colors.
|
||||
/*Usually an automatic fg color on these backgrounds should check this value!*/
|
||||
$warningc: #f57900;
|
||||
$errorc: #990000;
|
||||
$successc: #73d216;
|
||||
|
|
|
|||
|
|
@ -85,8 +85,7 @@ $_default_button_c: $button_bg;
|
|||
// this mixin needs to cover both gtk3 and gtk4 cases in order to work.
|
||||
// gtk4 mixin calls only include $t, $c and $tc, therefore it should be safe to use in both.
|
||||
|
||||
//TODO: gtk3 add cases in common.scss to separate active from checked-active
|
||||
|
||||
|
||||
$_hilight_color: _button_hilight_color($c);
|
||||
$_button_edge: if($edge == none, none, _widget_edge($edge));
|
||||
$_blank_edge: if($edge == none, none, _widget_edge(transparentize($edge,1)));
|
||||
|
|
@ -106,6 +105,7 @@ $_default_button_c: $button_bg;
|
|||
|
||||
color: $tc;
|
||||
background-color: $c;
|
||||
border-color: $tc;
|
||||
outline-color: $focus_border_color;
|
||||
background-image: $button_clickable_image;
|
||||
@include _button_text_shadow($tc, $c);
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@
|
|||
@if $t==insensitive {
|
||||
box-shadow: none;
|
||||
color: $insensitive_fg_color;
|
||||
background-image: image($insensitive_bg_color);
|
||||
}
|
||||
|
||||
@if $t==backdrop {
|
||||
|
|
@ -47,6 +48,7 @@
|
|||
@if $t==backdrop-insensitive {
|
||||
box-shadow: none;
|
||||
color: $insensitive_fg_color;
|
||||
background-image: image($insensitive_bg_color);
|
||||
}
|
||||
|
||||
@if $t==menu {
|
||||
|
|
|
|||
|
|
@ -62,8 +62,8 @@ $backdrop_text_color: mix($text_color, $backdrop_base_color, 80%);
|
|||
$backdrop_bg_color: $bg_color;
|
||||
$backdrop_fg_color: mix($fg_color, $backdrop_bg_color, 50%);
|
||||
$backdrop_insensitive_color: if($variant == 'light', darken($backdrop_bg_color, 15%), lighten($backdrop_bg_color, 15%));
|
||||
$backdrop_selected_fg_color: if($variant == 'light', $backdrop_base_color, $backdrop_text_color);
|
||||
$backdrop_selected_bg_color: transparentize(desaturate($selected_bg_color,100%),0.5);
|
||||
$backdrop_selected_fg_color: mix($backdrop_text_color, $selected_fg_color, 0.5);
|
||||
$backdrop_selected_bg_color: transparentize(desaturate($selected_bg_color,80%),0.5);
|
||||
$backdrop_borders_color: mix($borders_color, $bg_color, 80%);
|
||||
$backdrop_dark_fill: mix($backdrop_borders_color, $backdrop_bg_color, 35%);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue