139 lines
1.7 KiB
Scheme
139 lines
1.7 KiB
Scheme
(comment) @comment @spell
|
|
|
|
"@media" @keyword
|
|
|
|
"@import" @keyword.import
|
|
|
|
"@theme" @keyword.import
|
|
|
|
(string_value) @string
|
|
|
|
[
|
|
(integer_value)
|
|
(float_value)
|
|
"0"
|
|
] @number
|
|
|
|
(boolean_value) @boolean
|
|
|
|
[
|
|
(feature_name)
|
|
(url_image_scale)
|
|
(direction)
|
|
(text_style_value)
|
|
(line_style_value)
|
|
(position_value)
|
|
(orientation_value)
|
|
(cursor_value)
|
|
"inherit"
|
|
] @keyword
|
|
|
|
(url_image
|
|
"url" @function.builtin)
|
|
|
|
(gradient_image
|
|
"linear-gradient" @function.builtin)
|
|
|
|
(distance_calc
|
|
"calc" @function.builtin)
|
|
|
|
(rgb_color
|
|
[
|
|
"rgb"
|
|
"rgba"
|
|
] @function.builtin)
|
|
|
|
(hsl_color
|
|
[
|
|
"hsl"
|
|
"hsla"
|
|
] @function.builtin)
|
|
|
|
(hwb_color
|
|
[
|
|
"hwb"
|
|
"hwba"
|
|
] @function.builtin)
|
|
|
|
(cmyk_color
|
|
"cmyk" @function.builtin)
|
|
|
|
[
|
|
"("
|
|
")"
|
|
"{"
|
|
"}"
|
|
"["
|
|
"]"
|
|
] @punctuation.bracket
|
|
|
|
(distance_op) @operator
|
|
|
|
[
|
|
";"
|
|
","
|
|
":"
|
|
"."
|
|
] @punctuation.delimiter
|
|
|
|
[
|
|
(angle_unit)
|
|
(integer_distance_unit)
|
|
(float_distance_unit)
|
|
] @string
|
|
|
|
(percentage) @number
|
|
|
|
(percentage
|
|
"%" @string)
|
|
|
|
(global_selector) @character.special
|
|
|
|
(id_selector) @constant
|
|
|
|
(id_selector_view
|
|
[
|
|
"normal"
|
|
"selected"
|
|
"alternate"
|
|
] @attribute)
|
|
|
|
(id_selector_state
|
|
[
|
|
"normal"
|
|
"urgent"
|
|
"active"
|
|
] @keyword.modifier)
|
|
|
|
(hex_color) @number
|
|
|
|
(hex_color
|
|
"#" @punctuation.special)
|
|
|
|
(named_color
|
|
(identifier) @string.special)
|
|
|
|
(named_color
|
|
"/" @operator)
|
|
|
|
(reference_value
|
|
"@" @punctuation.special
|
|
(identifier) @variable)
|
|
|
|
(reference_value
|
|
"var" @function.builtin
|
|
(identifier) @variable)
|
|
|
|
(list_value
|
|
(identifier) @variable)
|
|
|
|
(environ_value
|
|
"$" @punctuation.special
|
|
(identifier) @variable)
|
|
|
|
(environ_value
|
|
"env" @function.builtin
|
|
(identifier) @variable)
|
|
|
|
(property_name) @property
|