|
1 |
| -// Named Colors |
2 |
| - |
3 |
| -// Redefine some GNOME colors we are ok with |
4 |
| -$light_1: white !default; |
5 |
| -$dark_5: black !default; |
6 |
| - |
7 |
| -// base colors |
| 1 | +// override base colors |
8 | 2 | $_base_color_dark: lighten($jet, 4%); // Yaru: use our colors
|
9 | 3 | $_base_color_light: $light_1; // Yaru: use our colors
|
10 | 4 |
|
11 |
| -// colors for destructive elements |
12 |
| -$destructive_bg_color: if($variant=='light', $red, darken($red, 10%)); // Yaru: use our colors |
13 |
| -$destructive_fg_color: $light_1; |
14 |
| -$destructive_color: $destructive_bg_color; |
15 |
| - |
16 |
| -// colors for levelbars, entries, labels and infobars |
17 |
| -$success_bg_color: if($variant == 'light', lighten($green, 5%), darken($green, 5%)); // Yaru: use our colors |
18 |
| -$success_fg_color: $light_1; |
19 |
| -$success_color: $success_bg_color; |
20 |
| - |
21 |
| -$warning_bg_color: if($variant == 'light', darken($yellow, 1%), $yellow); // Yaru: use our colors |
22 |
| -$warning_fg_color: transparentize(black, .2); |
23 |
| -$warning_color: $warning_bg_color; |
24 |
| - |
25 |
| -$error_bg_color: $red; // Yaru: use our colors |
26 |
| -$error_fg_color: $light_1; |
27 |
| -$error_color: $error_bg_color; |
28 |
| - |
29 |
| -// link colors |
30 |
| -$link_color: if($variant =='light', st-darken(-st-accent-color, 10%), st-lighten(-st-accent-color, 20%)); |
31 |
| -$link_visited_color: st-transparentize($link_color, .6); |
32 |
| - |
33 |
| -// special cased widget definitions |
34 |
| -$background_mix_factor: if($variant == 'light', 12%, 9%); // used to boost the color of backgrounds in different variants |
35 |
| -$border_opacity: if($variant == 'light', .85, .9); // change the border opacity in different variants |
36 |
| - |
37 |
| -// shadows |
38 |
| -$shadow_color: if($variant == 'light', rgba(0,0,0,.05), rgba(0,0,0,0.2)); |
39 |
| -$text_shadow_color: if($variant == 'light', rgba(255,255,255,0.3), rgba(0,0,0,0.2)); |
40 |
| - |
41 |
| -// focus colors |
42 |
| -$focus_color: -st-accent-color; |
43 |
| -$focus_border_color: st-transparentize($focus_color, 0.5); |
44 |
| - |
45 | 5 | // Used for dash and other dark elements on light theme
|
46 | 6 | $yaru_borders_color_dark: lighten(desaturate(lighten($jet, 4%), 100%), 14%);
|
47 |
| - |
48 |
| -// High Contrast overrides |
49 |
| -@if $contrast == 'high' { |
50 |
| - // increase border opacity |
51 |
| - $border_opacity: .5; |
52 |
| - // remove shadows |
53 |
| - $shadow_color: transparent; |
54 |
| - $text_shadow_color: transparent; |
55 |
| - // less transparent focus color |
56 |
| - $focus_border_color: st-transparentize($focus_color, 0.2); |
57 |
| -} |
0 commit comments