@@ -7,7 +7,8 @@ define-function: (
77 [
88 theme, count_color, desc_color, path_color, bottom_border_color, keyword_color,
99 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
1112 ],
1213 block {
1314 call-function: ("switch-theme", {"theme": |theme|})
@@ -46,6 +47,11 @@ define-function: (
4647 "color": |keyword_color|,
4748 "hover_color": |keyword_color|,
4849 })
50+ call-function: ("check-result-color", {
51+ "result_kind": "attribute",
52+ "color": |attribute_color|,
53+ "hover_color": |attribute_color|,
54+ })
4955 call-function: ("check-result-color", {
5056 "result_kind": "struct",
5157 "color": |struct_color|,
@@ -155,6 +161,7 @@ call-function: ("check-search-color", {
155161 "path_color": "#0096cf",
156162 "bottom_border_color": "#aaa3",
157163 "keyword_color": "#39afd7",
164+ "attribute_color": "#39afd7",
158165 "struct_color": "#ffa0a5",
159166 "associatedtype_color": "#39afd7",
160167 "tymethod_color": "#fdd687",
@@ -176,6 +183,7 @@ call-function: ("check-search-color", {
176183 "path_color": "#ddd",
177184 "bottom_border_color": "#aaa3",
178185 "keyword_color": "#d2991d",
186+ "attribute_color": "#d2991d",
179187 "struct_color": "#2dbfb8",
180188 "associatedtype_color": "#d2991d",
181189 "tymethod_color": "#2bab63",
@@ -197,6 +205,7 @@ call-function: ("check-search-color", {
197205 "path_color": "#000",
198206 "bottom_border_color": "#aaa3",
199207 "keyword_color": "#3873ad",
208+ "attribute_color": "#3873ad",
200209 "struct_color": "#ad378a",
201210 "associatedtype_color": "#3873ad",
202211 "tymethod_color": "#ad7c37",
0 commit comments