File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
packages/vscode-tailwindcss/syntaxes Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 289
289
}
290
290
]
291
291
},
292
+ {
293
+ "begin" : " (?i)((@)variant)(?=[\\ s{]|/\\ *|$)" ,
294
+ "beginCaptures" : {
295
+ "1" : {
296
+ "name" : " keyword.control.at-rule.variant.tailwind"
297
+ },
298
+ "2" : {
299
+ "name" : " punctuation.definition.keyword.css"
300
+ }
301
+ },
302
+ "end" : " (?<=})(?!\\ G)" ,
303
+ "patterns" : [
304
+ {
305
+ "match" : " [^\\ s{,]+?" ,
306
+ "name" : " variable.parameter.variant.tailwind"
307
+ },
308
+ {
309
+ "begin" : " {" ,
310
+ "beginCaptures" : {
311
+ "0" : {
312
+ "name" : " punctuation.section.variant.begin.bracket.curly.tailwind"
313
+ }
314
+ },
315
+ "end" : " }" ,
316
+ "endCaptures" : {
317
+ "0" : {
318
+ "name" : " punctuation.section.variant.end.bracket.curly.tailwind"
319
+ }
320
+ },
321
+ "name" : " meta.at-rule.variant.body.tailwind" ,
322
+ "patterns" : [
323
+ {
324
+ "include" : " source.css"
325
+ }
326
+ ]
327
+ }
328
+ ]
329
+ },
292
330
{
293
331
"begin" : " (?i)((@)responsive)(?=[\\ s{]|/\\ *|$)" ,
294
332
"beginCaptures" : {
You can’t perform that action at this time.
0 commit comments