tailwind-ctp-intellisense/packages/vscode-tailwindcss/syntaxes/at-apply.tmLanguage.json

40 lines
961 B
JSON
Raw Normal View History

2021-11-05 16:18:48 +00:00
{
"scopeName": "tailwindcss.at-apply.injection",
"fileTypes": [],
"injectionSelector": "L:meta.property-list.css -comment, meta.property-list.scss -comment",
"name": "TailwindCSS",
"patterns": [
{
"name": "meta.at-rule.apply.tailwind",
"begin": "(@)apply\\b",
"beginCaptures": {
"0": {
"name": "keyword.control.at-rule.apply.tailwind"
},
"1": {
"name": "punctuation.definition.keyword.css"
}
},
"end": ";|(?=[}])",
"endCaptures": {
"0": {
"name": "punctuation.terminator.apply.tailwind"
}
},
"patterns": [
{
"include": "source.css#comment-block"
},
{
"match": "!\\s*important(?![\\w-])",
"name": "keyword.other.important.css"
},
{
"match": "[^\\s;]+?",
"name": "entity.other.attribute-name.class.css"
}
]
}
]
}