@@ -1,64 +1,85 @@
11(comment) @comment
22
3−(tag_name) @tag
4−(nesting_selector) @tag
5−(universal_selector) @tag
3+[
4+ (tag_name)
5+ (nesting_selector)
6+ (universal_selector)
7+] @tag
68
7−"~" @operator
8−">" @operator
9−"+" @operator
10−"-" @operator
11−"*" @operator
12−"/" @operator
13−"=" @operator
14−"^=" @operator
15−"|=" @operator
16−"~=" @operator
17−"$=" @operator
18−"*=" @operator
9+[
10+ "~"
11+ ">"
12+ "+"
13+ "-"
14+ "*"
15+ "/"
16+ "="
17+ "^="
18+ "|="
19+ "~="
20+ "$="
21+ "*="
22+] @operator
1923
20−"and" @operator
21−"or" @operator
22−"not" @operator
23−"only" @operator
24−
25−(attribute_selector (plain_value) @string)
26−(pseudo_element_selector (tag_name) @attribute)
27−(pseudo_class_selector (class_name) @attribute)
28−
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
34−
35−(attribute_name) @attribute
36−
37−(function_name) @function
24+[
25+ "and"
26+ "not"
27+ "only"
28+ "or"
29+] @keyword.operator
3830
3931((property_name) @variable
4032 (#match? @variable "^--"))
4133((plain_value) @variable
4234 (#match? @variable "^--"))
4335
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
36+(attribute_name) @attribute
37+(class_name) @label
38+(feature_name) @variable.other.member
39+(function_name) @function
40+(id_name) @label
41+(namespace_name) @namespace
42+(property_name) @variable.other.member
43+
44+[
45+ "@charset"
46+ "@import"
47+ "@keyframes"
48+ "@media"
49+ "@namespace"
50+ "@supports"
51+ (at_keyword)
52+ (from)
53+ (important)
54+ (to)
55+] @keyword
56+
57+[
58+ "#"
59+ "."
60+] @punctuation
5461
5562(string_value) @string
63+((color_value) "#") @string.special
5664(color_value) @string.special
5765
5866(integer_value) @constant.numeric.integer
5967(float_value) @constant.numeric.float
60−(unit) @type
6168
62−"#" @punctuation.delimiter
63−"," @punctuation.delimiter
64−":" @punctuation.delimiter
69+[
70+ ")"
71+ "("
72+ "["
73+ "]"
74+ "{"
75+ "}"
76+] @punctuation.bracket
77+
78+[
79+ ","
80+ ";"
81+ ":"
82+ "::"
83+] @punctuation.delimiter
84+
85+(plain_value) @constant