annotate gtk-3.0/_colors-public.scss @ 63:0aca06ef7c35

Add two new bugs
author IBBoard <dev@ibboard.co.uk>
date Mon, 18 Sep 2017 19:41:12 +0100
parents a48477723cfe
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 //apps rely on some named colors to be exported
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 /* GTK NAMED COLORS
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 ----------------
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 use responsibly! */
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 // Sass thinks we're using the colors in the variables as strings and may shoot
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7 // warning, it's innocuous and can be defeated by using "" + $var
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8 /*
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9 widget text/foreground color */
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10 @define-color theme_fg_color #{"" +$fg_color};
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12 /*
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13 text color for entries, views and content in general */
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14 @define-color theme_text_color #{"" +$text_color};
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 /*
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17 widget base background color */
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 @define-color theme_bg_color #{"" +$bg_color};
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
20 /*
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
21 text widgets and the like base background color */
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
22 @define-color theme_base_color #{"" +$base_color};
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
23
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
24 /*
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
25 base background color of selections */
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
26 @define-color theme_selected_bg_color #{"" +$selected_bg_color};
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
27
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
28 /*
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
29 text/foreground color of selections */
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
30 @define-color theme_selected_fg_color #{"" +$selected_fg_color};
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
31
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
32 /*
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
33 base background color of insensitive widgets */
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
34 @define-color insensitive_bg_color #{"" +$insensitive_bg_color};
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
35
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
36 /*
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
37 text foreground color of insensitive widgets */
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
38 @define-color insensitive_fg_color #{"" +$insensitive_fg_color};
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
39
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
40 /*
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
41 insensitive text widgets and the like base background color */
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
42 @define-color insensitive_base_color #{"" +$base_color};
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
43
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
44 /*
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
45 widget text/foreground color on backdrop windows */
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
46 @define-color theme_unfocused_fg_color #{"" +$backdrop_fg_color};
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
47
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
48 /*
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
49 text color for entries, views and content in general on backdrop windows */
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
50 @define-color theme_unfocused_text_color #{"" +$text_color};
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
51
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
52 /*
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
53 widget base background color on backdrop windows */
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
54 @define-color theme_unfocused_bg_color #{"" +$backdrop_bg_color};
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
55
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
56 /*
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
57 text widgets and the like base background color on backdrop windows */
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
58 @define-color theme_unfocused_base_color #{"" +$backdrop_base_color};
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
59
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
60 /*
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
61 base background color of selections on backdrop windows */
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
62 @define-color theme_unfocused_selected_bg_color #{"" +$selected_bg_color};
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
63
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
64 /*
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
65 text/foreground color of selections on backdrop windows */
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
66 @define-color theme_unfocused_selected_fg_color #{"" + $selected_fg_color};
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
67
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
68 /*
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
69 widgets main borders color */
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
70 @define-color borders #{"" +$borders_color};
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
71
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
72 /*
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
73 widgets main borders color on backdrop windows */
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
74 @define-color unfocused_borders #{"" +$backdrop_borders_color};
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
75
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
76 /*
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
77 these are pretty self explicative */
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
78 @define-color warning_color #{"" +$warning_color};
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
79 @define-color error_color #{"" +$error_color};
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
80 @define-color success_color #{"" +$success_color};
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
81 //@define-color destructive_color #{$destructive_color}
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
82
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
83 //WM
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
84
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
85 $_wm_highlight: if($variant=='light', $top_hilight, // Sass gets mad if this is
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
86 transparentize(black,1)); // done directly in the
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
87 // color definition
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
88
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
89 /*
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
90 these colors are exported for the window manager and shouldn't be used in applications,
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
91 read if you used those and something break with a version upgrade you're on your own... */
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
92 @define-color wm_title shade(#{$fg_color}, 1.8);
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
93 @define-color wm_unfocused_title #{$backdrop_fg_color};
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
94 @define-color wm_highlight #{"" + $_wm_highlight};
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
95 @define-color wm_borders_edge #{"" + $borders_edge};
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
96
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
97 @define-color wm_bg_a shade(#{$bg_color}, 1.2);
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
98 @define-color wm_bg_b #{$bg_color};
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
99
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
100 @define-color wm_shadow alpha(black, 0.35);
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
101 @define-color wm_border alpha(black, 0.18);
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
102
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
103 @define-color wm_button_hover_color_a shade(#{$bg_color}, 1.3);
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
104 @define-color wm_button_hover_color_b #{$bg_color};
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
105 @define-color wm_button_active_color_a shade(#{$bg_color}, 0.85);
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
106 @define-color wm_button_active_color_b shade(#{$bg_color}, 0.89);
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
107 @define-color wm_button_active_color_c shade(#{$bg_color}, 0.9);
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
108
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
109 //FIXME this is really an API
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
110
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
111 @define-color content_view_bg #{"" + $base_color};
a48477723cfe Base Adwaita theme for GTK 3.16
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
112