| 1 |
(comment) @comment |
| 2 |
|
| 3 |
[ |
| 4 |
(tag_name) |
| 5 |
(nesting_selector) |
| 6 |
(universal_selector) |
| 7 |
] @tag |
| 8 |
|
| 9 |
[ |
| 10 |
"~" |
| 11 |
">" |
| 12 |
"+" |
| 13 |
"-" |
| 14 |
"*" |
| 15 |
"/" |
| 16 |
"=" |
| 17 |
"^=" |
| 18 |
"|=" |
| 19 |
"~=" |
| 20 |
"$=" |
| 21 |
"*=" |
| 22 |
] @operator |
| 23 |
|
| 24 |
[ |
| 25 |
"and" |
| 26 |
"not" |
| 27 |
"only" |
| 28 |
"or" |
| 29 |
] @keyword.operator |
| 30 |
|
| 31 |
(attribute_selector (plain_value) @string) |
| 32 |
|
| 33 |
(property_name) @variable.other.member |
| 34 |
(plain_value) @constant |
| 35 |
|
| 36 |
((property_name) @variable |
| 37 |
(#match? @variable "^--")) |
| 38 |
((plain_value) @variable |
| 39 |
(#match? @variable "^--")) |
| 40 |
|
| 41 |
(class_name) @label |
| 42 |
(feature_name) @variable.other.member |
| 43 |
(function_name) @function |
| 44 |
(id_name) @label |
| 45 |
(namespace_name) @namespace |
| 46 |
|
| 47 |
(attribute_name) @attribute |
| 48 |
(pseudo_element_selector (tag_name) @attribute) |
| 49 |
(pseudo_class_selector (class_name) @attribute) |
| 50 |
|
| 51 |
[ |
| 52 |
"@charset" |
| 53 |
"@import" |
| 54 |
"@keyframes" |
| 55 |
"@media" |
| 56 |
"@namespace" |
| 57 |
"@scope" |
| 58 |
"@supports" |
| 59 |
(at_keyword) |
| 60 |
(from) |
| 61 |
(important) |
| 62 |
(important_value) |
| 63 |
(to) |
| 64 |
(keyword_query) |
| 65 |
(keyframes_name) |
| 66 |
(unit) |
| 67 |
] @keyword |
| 68 |
|
| 69 |
|
| 70 |
(at_rule |
| 71 |
. (at_keyword) @keyword |
| 72 |
. (keyword_query) @constant |
| 73 |
(#eq? @keyword "@apply")) |
| 74 |
|
| 75 |
[ |
| 76 |
"#" |
| 77 |
"." |
| 78 |
] @punctuation |
| 79 |
|
| 80 |
(string_value) @string |
| 81 |
(color_value "#" @string.special) |
| 82 |
(color_value) @string.special |
| 83 |
|
| 84 |
(integer_value) @constant.numeric.integer |
| 85 |
(float_value) @constant.numeric.float |
| 86 |
|
| 87 |
[ |
| 88 |
")" |
| 89 |
"(" |
| 90 |
"[" |
| 91 |
"]" |
| 92 |
"{" |
| 93 |
"}" |
| 94 |
] @punctuation.bracket |
| 95 |
|
| 96 |
[ |
| 97 |
"," |
| 98 |
";" |
| 99 |
":" |
| 100 |
"::" |
| 101 |
] @punctuation.delimiter |