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

130 lines
2.9 KiB
JSON
Raw Normal View History

2021-11-05 16:18:48 +00:00
{
"scopeName": "tailwindcss.at-rules.scss.injection",
"fileTypes": [],
"injectionSelector": "L:source.css.scss -comment",
"name": "TailwindCSS",
"patterns": [
{
"begin": "(?i)((@)tailwind)(?=\\s|/\\*|$)",
"beginCaptures": {
"1": {
"name": "keyword.control.at-rule.tailwind.tailwind"
},
"2": {
"name": "punctuation.definition.keyword.css"
}
},
"end": ";",
"endCaptures": {
"0": {
"name": "punctuation.terminator.tailwind.tailwind"
}
},
"name": "meta.at-rule.tailwind.css",
"patterns": [
{
"include": "source.css#comment-block"
},
{
"include": "source.css#escapes"
},
{
"match": "[^\\s;]+?",
"name": "entity.name.function.scss"
}
]
},
{
"begin": "(?i)((@)screen)\\b",
"beginCaptures": {
"1": {
"name": "keyword.control.at-rule.screen.tailwind"
},
"2": {
"name": "punctuation.definition.keyword.css"
}
},
"end": "\\s*(?={)",
"patterns": [
{
"include": "source.css#comment-block"
},
{
"match": "[^\\s{]+?",
"name": "entity.name.function.scss"
}
]
},
{
"begin": "(?i)((@)layer)\\b",
"beginCaptures": {
"1": {
"name": "keyword.control.at-rule.layer.tailwind"
},
"2": {
"name": "punctuation.definition.keyword.css"
}
},
"end": "\\s*(?={|;)",
2021-11-05 16:18:48 +00:00
"patterns": [
{
"include": "source.css#comment-block"
},
{
"match": "[^\\s{;,]+?",
2021-11-05 16:18:48 +00:00
"name": "entity.name.function.scss"
},
{
"match": ",",
"name": "punctuation.separator.delimiter.scss"
},
{
"match": ";",
"name": "punctuation.terminator.rule.scss"
2021-11-05 16:18:48 +00:00
}
]
},
{
"begin": "(?i)((@)variants)\\b",
"beginCaptures": {
"1": {
"name": "keyword.control.at-rule.variants.tailwind"
},
"2": {
"name": "punctuation.definition.keyword.css"
}
},
"end": "\\s*(?={)",
"patterns": [
{
"include": "source.css#comment-block"
},
{
"include": "source.css#commas"
},
{
"match": "[^\\s{,]+?",
"name": "entity.name.function.scss"
}
]
},
{
"begin": "(?i)((@)responsive)\\b",
"beginCaptures": {
"1": {
"name": "keyword.control.at-rule.responsive.tailwind"
},
"2": {
"name": "punctuation.definition.keyword.css"
}
},
"end": "\\s*(?={)",
"patterns": [
{
"include": "source.css#comment-block"
}
]
}
]
}