on aef00a3 help sign in
helix/runtime/queries/css/highlights.scm
64 lines 1.2 kB history raw
1(comment) @comment
3(tag_name) @tag
4(nesting_selector) @tag
5(universal_selector) @tag
7"~" @operator
8">" @operator
9"+" @operator
10"-" @operator
11"*" @operator
12"/" @operator
13"=" @operator
14"^=" @operator
15"|=" @operator
16"~=" @operator
17"$=" @operator
18"*=" @operator
20"and" @operator
21"or" @operator
22"not" @operator
23"only" @operator
25(attribute_selector (plain_value) @string)
26(pseudo_element_selector (tag_name) @attribute)
27(pseudo_class_selector (class_name) @attribute)
29(class_name) @variable.other.member
30(id_name) @variable.other.member
31(namespace_name) @variable.other.member
32(property_name) @variable.other.member
33(feature_name) @variable.other.member
35(attribute_name) @attribute
37(function_name) @function
39((property_name) @variable
40 (#match? @variable "^--"))
41((plain_value) @variable
42 (#match? @variable "^--"))
44"@media" @keyword
45"@import" @keyword
46"@charset" @keyword
47"@namespace" @keyword
48"@supports" @keyword
49"@keyframes" @keyword
50(at_keyword) @keyword
51(to) @keyword
52(from) @keyword
53(important) @keyword
55(string_value) @string
56(color_value) @string.special
58(integer_value) @constant.numeric.integer
59(float_value) @constant.numeric.float
60(unit) @type
62"#" @punctuation.delimiter
63"," @punctuation.delimiter
64":" @punctuation.delimiter