1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
|
// Generated by udt-palette from palette/@SCHEME@.conf. Do not edit.
//
// An override layered over Material Behave, not a theme of its own. Sublime
// merges every .sublime-theme of the same name across packages, User last, so
// this file re-colours that theme's chrome and inherits its geometry, icons and
// animations untouched. Rename it and it stops applying.
//
// Material Behave hardcodes 419 rules of [r,g,b] literals with no variables to
// override, so the surfaces are restated here rather than remapped. Only colour
// is set: sizes, margins and opacities belong to the parent theme.
//
// Ordering matters. Material Behave ends with a contrast-mode block gated on
// "material_theme_contrast_mode", which re-tints the sidebar, status bar and
// panels a shade darker. Later rules win, so these come after it and carry no
// settings gate of their own, which is what makes them apply either way.
//
// Colours are [r,g,b] arrays because that is what a .sublime-theme takes; the
// colour scheme next door uses hex. Same palette, two syntaxes.
//
// The chrome does NOT track the wallpaper, unlike the colour scheme's accent.
// Sublime reads a theme once per window, so a moving accent would leave open
// windows disagreeing with new ones. The accent here is the scheme's fixed one,
// which is what conky, Qt, GTK and waybar already sit on.
[
// Editor ground, behind the tabs and in an empty window.
{
"class": "sheet_container_control",
"layer0.tint": @BG@
},
// Tab bar. The strip itself sits a shade off the editor so tabs read as
// raised; the selected tab matches the editor it belongs to.
{
"class": "tabset_control",
"layer0.tint": @BG_DEEP@
},
{
"class": "tab_control",
"layer0.tint": @BG_ALT@
},
{
"class": "tab_control",
"attributes": ["selected"],
"layer0.tint": @BG@
},
{
"class": "tab_label",
"fg": @FG_FAINT@
},
{
"class": "tab_label",
"parents": [{"class": "tab_control", "attributes": ["selected"]}],
"fg": @FG@
},
// Sidebar.
{
"class": "sidebar_container",
"layer0.tint": @BG_ALT@
},
{
"class": "sidebar_tree",
"layer0.tint": @BG_ALT@
},
{
"class": "sidebar_label",
"fg": @FG_DIM@
},
{
"class": "sidebar_label",
"parents": [{"class": "tree_row", "attributes": ["selected"]}],
"fg": @FG@
},
{
"class": "sidebar_heading",
"fg": @FG_FAINT@
},
// The hover and selection wash behind a row. Its opacity is the parent
// theme's; only the tint is ours.
{
"class": "tree_row",
"layer1.tint": @ACCENT@
},
// Status bar. Material Behave paints a hidden layer0 and a visible layer1,
// so both are set or the bar changes colour as it redraws.
{
"class": "status_bar",
"layer0.tint": @BG_ALT@,
"layer1.tint": @BG_ALT@
},
{
"class": "status_button",
"layer0.tint": @BG_ALT@
},
{
"class": "label_control",
"parents": [{"class": "status_bar"}],
"fg": @FG_DIM@
},
// Find, replace and the console.
{
"class": "panel_control",
"layer0.tint": @BG_ALT@,
"layer1.tint": @BG_ALT@
},
{
"class": "panel_button_control",
"layer0.tint": @BG_ALT@
},
// Command palette, goto-anything and autocomplete.
{
"class": "quick_panel",
"layer0.tint": @BG_ALT@
},
{
"class": "quick_panel_label",
"fg": @FG_DIM@
},
{
"class": "quick_panel_label",
"parents": [{"class": "quick_panel_row", "attributes": ["selected"]}],
"fg": @FG@
},
{
"class": "quick_panel_score_label",
"fg": @ACCENT@
},
{
"class": "quick_panel_path_label",
"fg": @FG_FAINT@
},
{
"class": "auto_complete",
"layer0.tint": @BG_ALT@
},
{
"class": "auto_complete_label",
"fg": @FG_DIM@
},
{
"class": "popup_control",
"layer0.tint": @BG_ALT@
},
{
"class": "dialog",
"layer0.tint": @BG_ALT@
},
// Tooltips, and the progress widgets that Material Behave tints per accent.
{
"class": "tool_tip_control",
"layer0.tint": @BG_DEEP@
},
{
"class": "tool_tip_label_control",
"fg": @FG_DIM@
},
{
"class": "progress_gauge_control",
"layer0.tint": @ACCENT@
},
// Scrollbars and the minimap viewport.
{
"class": "scroll_bar_control",
"layer0.tint": @BG_DEEP@
},
{
"class": "puck_control",
"layer0.tint": @FG_FAINT@
},
// Title bar, on the platforms and settings where Material Behave draws it.
{
"class": "title_bar",
"bg": @BG_DEEP@,
"fg": @FG_DIM@
}
]
|