| 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 | (property_name) @variable.other.member |
| 32 | (plain_value) @constant |
| 33 | |
| 34 | ((property_name) @variable |
| 35 | (#match? @variable "^--")) |
| 36 | ((plain_value) @variable |
| 37 | (#match? @variable "^--")) |
| 38 | |
| 39 | (attribute_name) @attribute |
| 40 | (class_name) @label |
| 41 | (feature_name) @variable.other.member |
| 42 | (function_name) @function |
| 43 | (id_name) @label |
| 44 | (namespace_name) @namespace |
| 45 | |
| 46 | [ |
| 47 | "@charset" |
| 48 | "@import" |
| 49 | "@keyframes" |
| 50 | "@media" |
| 51 | "@namespace" |
| 52 | "@supports" |
| 53 | (at_keyword) |
| 54 | (from) |
| 55 | (important) |
| 56 | (to) |
| 57 | (keyword_query) |
| 58 | (keyframes_name) |
| 59 | (unit) |
| 60 | ] @keyword |
| 61 | |
| 62 | [ |
| 63 | "#" |
| 64 | "." |
| 65 | ] @punctuation |
| 66 | |
| 67 | (string_value) @string |
| 68 | ((color_value) "#") @string.special |
| 69 | (color_value) @string.special |
| 70 | |
| 71 | (integer_value) @constant.numeric.integer |
| 72 | (float_value) @constant.numeric.float |
| 73 | |
| 74 | [ |
| 75 | ")" |
| 76 | "(" |
| 77 | "[" |
| 78 | "]" |
| 79 | "{" |
| 80 | "}" |
| 81 | ] @punctuation.bracket |
| 82 | |
| 83 | [ |
| 84 | "," |
| 85 | ";" |
| 86 | ":" |
| 87 | "::" |
| 88 | ] @punctuation.delimiter |