Mercurial > repos > other > Adwaita-Dark-Green
annotate gtk-3.0/_colors.scss @ 63:0aca06ef7c35
Add two new bugs
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 18 Sep 2017 19:41:12 +0100 |
parents | cb3e1a45b770 |
children |
rev | line source |
---|---|
0 | 1 // When color definition differs for dark and light variant, |
2 // it gets @if ed depending on $variant | |
3 | |
4 | |
5 $base_color: if($variant == 'light', #ffffff, #292929); | |
6 $text_color: if($variant == 'light', black, white); | |
7 $bg_color: if($variant == 'light', #ededed, #393f3f); | |
8 $fg_color: if($variant == 'light', #2e3436, #eeeeec); | |
9 | |
10 $selected_fg_color: #ffffff; | |
11 $selected_bg_color: if($variant == 'light', #4a90d9, darken(#4a90d9,20%)); | |
12 $selected_borders_color: if($variant== 'light', darken($selected_bg_color, 30%), darken($selected_bg_color, 20%)); | |
13 $borders_color: if($variant == 'light', darken($bg_color,30%), darken($bg_color,12%)); | |
14 $borders_edge: if($variant == 'light', white, transparentize($fg_color, 0.9)); | |
15 $link_color: if($variant == 'light', darken($selected_bg_color,10%), lighten($selected_bg_color,20%)); | |
16 $link_visited_color: if($variant == 'light', darken($selected_bg_color,20%), lighten($selected_bg_color,10%)); | |
17 $top_hilight: $borders_edge; | |
18 | |
19 $scrollbar_bg_color: darken($bg_color, 7%); | |
20 | |
21 $warning_color: #f57900; | |
22 $error_color: #cc0000; | |
23 $success_color: if($variant == 'light', #73d216, darken(#73d216,10%)); | |
24 $destructive_color: if($variant == 'light', #ef2929, darken(#ef2929,10%)); | |
25 | |
26 $osd_fg_color: #eeeeec; | |
27 $osd_text_color: white; | |
28 $osd_bg_color: transparentize(#202526, 0.3); | |
29 $osd_insensitive_bg_color: transparentize(mix($osd_fg_color, opacify($osd_bg_color, 1), 10%), 0.5); | |
30 $osd_insensitive_fg_color: mix($osd_fg_color, opacify($osd_bg_color, 1), 50%); | |
31 $osd_borders_color: transparentize(black, 0.3); | |
32 | |
22
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
17
diff
changeset
|
33 $sidebar_bg_color: lighten($bg_color,5%); |
0 | 34 |
35 $tooltip_borders_color: transparentize(white, 0.9); | |
36 | |
37 //insensitive state derived colors | |
38 $insensitive_fg_color: mix($fg_color, $bg_color, 50%); | |
39 $insensitive_bg_color: mix($bg_color, $base_color, 60%); | |
40 $insensitive_borders_color: $borders_color; | |
41 | |
42 //colors for the backdrop state, derived from the main colors. | |
43 $backdrop_base_color: if($variant ==' light', darken($base_color, 1%), lighten($base_color, 1%)); | |
44 $backdrop_text_color: mix($text_color, $backdrop_base_color, 80%); | |
45 $backdrop_bg_color: $bg_color; | |
46 $backdrop_fg_color: mix($fg_color, $backdrop_bg_color, 50%); | |
47 $backdrop_insensitive_color: if($variant == 'light', darken($backdrop_bg_color, 15%), lighten($backdrop_bg_color, 15%)); | |
48 $backdrop_selected_fg_color: $selected_fg_color; | |
22
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
17
diff
changeset
|
49 $backdrop_selected_bg_color: desaturate($selected_bg_color,100%); |
0 | 50 $backdrop_borders_color: mix($borders_color, $bg_color, 90%); |
51 $backdrop_dark_fill: mix($backdrop_borders_color, $backdrop_bg_color, 35%); | |
22
cb3e1a45b770
Restore gtk-3.0 to v3.16 (openSUSE 42.1) and add gtk-3.18 dir
IBBoard <dev@ibboard.co.uk>
parents:
17
diff
changeset
|
52 $backdrop_sidebar_bg_color: lighten($backdrop_bg_color,5%); |
0 | 53 |
54 $backdrop_scrollbar_bg_color: darken($backdrop_bg_color, 3%); |