Unnamed repository; edit this file 'description' to name the repository.
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
[(comment) (single_line_comment)] @comment

[
 "~"
 ">"
 "+"
 "-"
 "*"
 "/"
 "="
 "^="
 "|="
 "~="
 "$="
 "*="
] @operator

[
  "in"
  "and"
  "or"
  "not"
  "only"
] @operator.control

[
  "@apply"
  "@at-root"
  "@charset"
  "@debug"
  "@error"
  "@extend"
  "@keyframes"
  "@media"
  "@mixin"
  "@supports"
  "@warn"
] @constant.builtin

[
  "@import"
  "@include"
  "@forward"
  "@use"
] @keyword.control.import

[
  "@if"
  "@else"
] @keyword.control.conditional

[
  "@each"
  "@for"
  "@while"
] @keyword.control.repeat

"@return" @keyword.control.return

"@function" @function.method
"@namespace" @namespace

(property_name) @variable.other.member

((property_name) @variable
 (#match? @variable "^--"))
((plain_value) @variable
 (#match? @variable "^--"))

(tag_name) @tag
(universal_selector) @tag
(attribute_selector (plain_value) @string)
(nesting_selector) @variable.other.member
(pseudo_element_selector) @attribute
(pseudo_class_selector) @attribute

(identifier) @variable
(class_name) @label
(id_name) @label
(namespace_name) @namespace

(feature_name) @variable.other.member
(variable) @variable
(variable_name) @variable.other.member
(variable_value) @variable.other.member
(argument_name) @variable.parameter
(selectors) @variable.other.member

(attribute_name) @attribute

(function_name) @function

(to) @keyword
(from) @keyword
(important) @keyword

(string_value) @string
(color_value) @string.special

(integer_value) @constant.numeric.integer
(float_value) @constant.numeric.float
(unit) @type

"#" @punctuation.delimiter
"," @punctuation.delimiter