annotate gtk-4.4/_colors-custom.scss @ 105:94ce48857c6d

Fix up GTK 3.24 * Fix DConf Editor path bar * Fix Fractal text box * Improve Fractal conversation colouring * Update Nautilus to new header bar * Remove border radius on `window`, which was causing some odd rendering issues (even though it seemed to fix some headerbar corner issues)
author IBBoard <dev@ibboard.co.uk>
date Thu, 21 Apr 2022 17:17:53 +0100
parents 9da64f7bb19c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
98
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 // Import the default colours
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 @import 'colors';
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 // Override some colours
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 $base_color: #C6C6C6;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 $bg_color: #C6C6C6;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7 $fg_color: #161616;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8 $selected_bg_color: #5E7F3E;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9 $selected_borders_color: darken($selected_bg_color, 20%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10 $borders_color: darken($bg_color,30%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11 $alt_borders_color: if($variant == 'light', darken($bg_color, 35%), darken($bg_color, 17%));
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12 $borders_edge: transparentize(lighten($bg_color, 30%), 0.9);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13 $dark_fill: mix($borders_color, $bg_color, 35%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14 $link_color: darken($selected_bg_color,10%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 $link_visited_color: darken($selected_bg_color,20%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 $top_hilight: $borders_edge;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17 $popover_bg_color: $bg_color;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 $popover_hover_color: lighten($bg_color, 5%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19 $menu_color: $bg_color;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
20 $menu_selected_color: if($variant == 'light', darken($bg_color, 6%), darken($bg_color, 8%));
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
21 $destructive_color: darken($destructive_color, 15%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
22
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
23 $scrollbar_bg_color: darken($bg_color, 7%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
24
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
25 $sidebar_bg_color: darken($bg_color,5%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
26
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
27 //insensitive state derived colors
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
28 $insensitive_fg_color: mix($fg_color, $bg_color, 50%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
29 $insensitive_bg_color: mix($bg_color, $base_color, 60%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
30 $insensitive_borders_color: $borders_color;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
31
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
32 //colors for the backdrop state, derived from the main colors.
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
33 $backdrop_base_color: darken($base_color, 1%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
34 $backdrop_text_color: mix($text_color, $backdrop_base_color, 80%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
35 $backdrop_bg_color: $bg_color;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
36 $backdrop_fg_color: mix($fg_color, $backdrop_bg_color, 50%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
37 $backdrop_insensitive_color: darken($backdrop_bg_color, 15%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
38 $backdrop_selected_fg_color: $selected_fg_color;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
39 $backdrop_selected_bg_color: desaturate($selected_bg_color,100%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
40 $backdrop_borders_color: mix($borders_color, $bg_color, 90%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
41 $backdrop_dark_fill: mix($backdrop_borders_color, $backdrop_bg_color, 35%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
42 $backdrop_sidebar_bg_color: darken($backdrop_bg_color,5%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
43 $backdrop_menu_color: $backdrop_bg_color;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
44
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
45 $scrollbar_slider_active_color: $selected_bg_color;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
46 $backdrop_scrollbar_slider_color: mix($backdrop_fg_color, $backdrop_bg_color, 50%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
47 $backdrop_scrollbar_bg_color: darken($backdrop_bg_color, 3%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
48
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
49 //special cased widget colors
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
50 $suggested_bg_color: $selected_bg_color;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
51 $suggested_border_color: $selected_borders_color;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
52 $progress_bg_color: $selected_bg_color;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
53 $progress_border_color: $selected_borders_color;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
54 $checkradio_bg_color: if($variant == 'light', $selected_bg_color, lighten($selected_bg_color,10%));
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
55 $checkradio_fg_color: $selected_fg_color;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
56 $checkradio_borders_color: if($variant == 'light', darken($checkradio_bg_color,20%), darken($checkradio_bg_color,40%));
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
57 $focus_border_color: if($variant == 'light', transparentize($selected_bg_color, 0.5), transparentize($selected_bg_color, 0.3));
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
58 $switch_bg_color: $selected_bg_color;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
59 $switch_borders_color: if($variant == 'light',darken($switch_bg_color,15%),darken($switch_bg_color,30%));
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
60
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
61 // Add our own colours
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
62 $text_input_color: #F0F0F0;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
63 $backdrop_text_input_color: darken($text_input_color, 1%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
64 $bg_dark_color: #3D3D3D;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
65 $fg_dark_color: #dddddd;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
66 $insensitive_dark_fg_color: mix($fg_dark_color, $bg_dark_color, 50%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
67 $titlebar_highlight: #4c4c4c;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
68 $header_button_raised_gradient_color_a: lighten($bg_dark_color, 10%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
69 $header_button_checked: darken($bg_dark_color, 5%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
70 $header_button_border: darken($bg_dark_color, 5%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
71 $header_button_border_unfocused: darken($bg_dark_color, 5%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
72 $menu_fg_dark_color: #cccccc;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
73 $focused_entry_outer: transparentize($selected_bg_color, 0.45);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
74 $bg_gradient_1: lighten($bg_color, 20%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
75 $bg_gradient_2: lighten($bg_color, 10%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
76 $bg_gradient_3: lighten($bg_color, 5%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
77 $bg_prelight: $bg_gradient_1;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
78 $selected_bg_color_hover: lighten($selected_bg_color, 10%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
79 $selected_bg_color_shade: darken($selected_bg_color, 10%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
80 $selected_bg_border: darken($selected_bg_color, 20%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
81 $title_fg: #fff;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
82 $header_separator: lighten($bg_dark_color, 10%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
83 $fg_color_emphasis: darken($fg_color, 50%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
84 $fg_color_de_emphasis: lighten($fg_color, 20%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
85 $unfocused_fg_color: $backdrop_fg_color;
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
86 $unfocused_insensitive_fg_color: lighten($insensitive_fg_color, 20%);
9da64f7bb19c Add support for GTK4
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
87 $transparent_outline: #383436;