annotate gtk-3.24/_colors.scss @ 110:aad862dc7583 v1.1.0

Add screenshots and notes for 1.1 release
author IBBoard <dev@ibboard.co.uk>
date Tue, 26 Apr 2022 20:23:00 +0100
parents d721ae7a505b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
97
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 // When color definition differs for dark and light variant
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 // it gets @if ed depending on $variant
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 $base_color: if($variant == 'light', #ffffff, lighten(desaturate(#241f31, 100%), 2%));
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 $text_color: if($variant == 'light', black, white);
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 $bg_color: if($variant == 'light', #f6f5f4, darken(desaturate(#3d3846, 100%), 4%));
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7 $fg_color: if($variant == 'light', #2e3436, #eeeeec);
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9 $selected_fg_color: #ffffff;
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10 $selected_bg_color: if($variant == 'light', #3584e4, darken(#3584e4, 20%));
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11 $selected_borders_color: if($variant== 'light', darken($selected_bg_color, 15%), darken($selected_bg_color, 30%));
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12 $borders_color: if($variant == 'light', darken($bg_color, 18%), darken($bg_color, 10%));
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13 $alt_borders_color: if($variant == 'light', darken($bg_color, 24%), darken($bg_color, 18%));
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14 $borders_edge: if($variant == 'light', transparentize(white, 0.2), transparentize($fg_color, 0.93));
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 $link_color: if($variant == 'light', darken($selected_bg_color, 10%), lighten($selected_bg_color, 20%));
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 $link_visited_color: if($variant == 'light', darken($selected_bg_color, 20%), lighten($selected_bg_color, 10%));
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17 $top_hilight: $borders_edge;
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 $dark_fill: mix($borders_color, $bg_color, 50%);
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19 $headerbar_color: if($variant == 'light', lighten($bg_color, 5%), darken($bg_color, 3%));
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
20 $menu_color: if($variant == 'light', $base_color, mix($bg_color, $base_color, 20%));
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
21 $popover_bg_color: $bg_color;
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
22 $popover_hover_color: lighten($bg_color, 5%);
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
23
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
24 $scrollbar_bg_color: if($variant == 'light', mix($bg_color, $fg_color, 80%), mix($base_color, $bg_color, 50%));
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
25 $scrollbar_slider_color: mix($fg_color, $bg_color, 60%);
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
26 $scrollbar_slider_hover_color: mix($fg_color, $bg_color, 80%);
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
27 $scrollbar_slider_active_color: if($variant=='light', darken($selected_bg_color, 10%), lighten($selected_bg_color, 10%));
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
28
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
29 $warning_color: #f57900;
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
30 $error_color: #cc0000;
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
31 $success_color: if($variant == 'light', #33d17a, darken(#33d17a, 10%));
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
32 $destructive_color: if($variant == 'light', #e01b24, darken(#e01b24, 10%));
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
33
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
34 $osd_fg_color: #eeeeec;
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
35 $osd_text_color: white;
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
36 $osd_bg_color: if($variant == 'light', transparentize(darken(desaturate(#3d3846, 100%), 4%),0.1), transparentize(darken(desaturate(#3d3846, 100%), 10%),0.1));
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
37 $osd_insensitive_bg_color: transparentize(mix($osd_fg_color, opacify($osd_bg_color, 1), 10%), 0.5);
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
38 $osd_insensitive_fg_color: mix($osd_fg_color, opacify($osd_bg_color, 1), 50%);
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
39 $osd_borders_color: transparentize(black, 0.3);
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
40
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
41 $sidebar_bg_color: mix($bg_color, $base_color, 50%);
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
42 $base_hover_color: transparentize($fg_color, 0.95);
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
43
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
44 $tooltip_borders_color: transparentize(white, 0.9);
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
45 $shadow_color: transparentize(black, 0.9);
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
46
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
47 $drop_target_color: #4e9a06;
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
48
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
49 //insensitive state derived colors
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
50 $insensitive_fg_color: mix($fg_color, $bg_color, 50%);
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
51 $insensitive_bg_color: mix($bg_color, $base_color, 60%);
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
52 $insensitive_borders_color: $borders_color;
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
53
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
54 //colors for the backdrop state, derived from the main colors.
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
55 $backdrop_base_color: if($variant == 'light', darken($base_color, 1%), lighten($base_color, 1%));
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
56 $backdrop_text_color: mix($text_color, $backdrop_base_color, 80%);
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
57 $backdrop_bg_color: $bg_color;
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
58 $backdrop_fg_color: mix($fg_color, $backdrop_bg_color, 50%);
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
59 $backdrop_insensitive_color: if($variant == 'light', darken($backdrop_bg_color, 15%), lighten($backdrop_bg_color, 15%));
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
60 $backdrop_selected_fg_color: if($variant == 'light', $backdrop_base_color, $backdrop_text_color);
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
61 $backdrop_borders_color: mix($borders_color, $bg_color, 80%);
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
62 $backdrop_dark_fill: mix($backdrop_borders_color, $backdrop_bg_color, 35%);
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
63 $backdrop_sidebar_bg_color: mix($backdrop_bg_color, $backdrop_base_color, 50%);
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
64
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
65 $backdrop_scrollbar_bg_color: darken($backdrop_bg_color, 3%);
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
66 $backdrop_scrollbar_slider_color: mix($backdrop_fg_color, $backdrop_bg_color, 40%);
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
67
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
68 $backdrop_menu_color: if($variant == 'light', $backdrop_base_color, mix($backdrop_bg_color, $backdrop_base_color, 20%));
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
69
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
70 //special cased widget colors
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
71 $suggested_bg_color: $selected_bg_color;
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
72 $suggested_border_color: $selected_borders_color;
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
73 $progress_bg_color: $selected_bg_color;
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
74 $progress_border_color: $selected_borders_color;
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
75 $checkradio_bg_color: if($variant == 'light', $selected_bg_color, lighten($selected_bg_color,10%));
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
76 $checkradio_fg_color: $selected_fg_color;
d721ae7a505b Add support for GTK 3.24 changes
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
77 $checkradio_borders_color: if($variant == 'light', darken($checkradio_bg_color,20%), darken($checkradio_bg_color,40%));