@@ -7,7 +7,8 @@ define-function: (
7
7
[
8
8
theme, count_color, desc_color, path_color, bottom_border_color, keyword_color,
9
9
struct_color, associatedtype_color, tymethod_color, method_color, structfield_color,
10
- structfield_hover_color, macro_color, fn_color, hover_path_color, hover_background, grey
10
+ structfield_hover_color, macro_color, fn_color, hover_path_color, hover_background,
11
+ attribute_color, grey
11
12
],
12
13
block {
13
14
call-function: ("switch-theme", {"theme": |theme|})
@@ -46,6 +47,11 @@ define-function: (
46
47
"color": |keyword_color|,
47
48
"hover_color": |keyword_color|,
48
49
})
50
+ call-function: ("check-result-color", {
51
+ "result_kind": "attribute",
52
+ "color": |attribute_color|,
53
+ "hover_color": |attribute_color|,
54
+ })
49
55
call-function: ("check-result-color", {
50
56
"result_kind": "struct",
51
57
"color": |struct_color|,
@@ -155,6 +161,7 @@ call-function: ("check-search-color", {
155
161
"path_color": "#0096cf",
156
162
"bottom_border_color": "#aaa3",
157
163
"keyword_color": "#39afd7",
164
+ "attribute_color": "#39afd7",
158
165
"struct_color": "#ffa0a5",
159
166
"associatedtype_color": "#39afd7",
160
167
"tymethod_color": "#fdd687",
@@ -176,6 +183,7 @@ call-function: ("check-search-color", {
176
183
"path_color": "#ddd",
177
184
"bottom_border_color": "#aaa3",
178
185
"keyword_color": "#d2991d",
186
+ "attribute_color": "#d2991d",
179
187
"struct_color": "#2dbfb8",
180
188
"associatedtype_color": "#d2991d",
181
189
"tymethod_color": "#2bab63",
@@ -197,6 +205,7 @@ call-function: ("check-search-color", {
197
205
"path_color": "#000",
198
206
"bottom_border_color": "#aaa3",
199
207
"keyword_color": "#3873ad",
208
+ "attribute_color": "#3873ad",
200
209
"struct_color": "#ad378a",
201
210
"associatedtype_color": "#3873ad",
202
211
"tymethod_color": "#ad7c37",
0 commit comments