19 lines
589 B
Scheme
19 lines
589 B
Scheme
|
(id_selector (id_name) @CssIdentifier)
|
||
|
(id_selector (id_name)) @CssIdSelector
|
||
|
(tag_name) @HtmlTagName
|
||
|
|
||
|
(class_selector (class_name) @CssClassName)
|
||
|
(selectors (pseudo_class_selector (class_name) @cssPseudoClass))
|
||
|
(nesting_selector) @cssNestingSelector
|
||
|
|
||
|
; need to find out how to make this more specific?
|
||
|
(universal_selector) @CssUniversalSelector
|
||
|
|
||
|
((property_name) (_)) @CssProp
|
||
|
|
||
|
(unit) @CssUnit
|
||
|
|
||
|
(declaration (property_name) (_) @CssPropertyValue)
|
||
|
|
||
|
(media_statement (feature_query (feature_name) @cssMediaFeatureName (_ (unit) @cssMediaQueryValueUnit) @cssMediaQueryValue) @cssMediaQuery)
|