File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
packages/vscode-tailwindcss/syntaxes Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 28
28
{
29
29
"include" : " source.css#escapes"
30
30
},
31
+ {
32
+ "include" : " #source-fn"
33
+ },
31
34
{
32
35
"match" : " [^\\ s;]+?" ,
33
36
"name" : " variable.parameter.tailwind.tailwind"
446
449
"name" : " punctuation.terminator.rule.css"
447
450
}
448
451
]
452
+ },
453
+ "source-fn" : {
454
+ "patterns" : [
455
+ {
456
+ "begin" : " (?i)(?:\\ s*)(?<![\\ w@-])(source)([(])" ,
457
+ "beginCaptures" : {
458
+ "1" : {
459
+ "name" : " support.function.source.css"
460
+ },
461
+ "2" : {
462
+ "name" : " punctuation.section.function.begin.bracket.round.css"
463
+ }
464
+ },
465
+ "end" : " [)]" ,
466
+ "endCaptures" : {
467
+ "0" : {
468
+ "name" : " punctuation.section.function.end.bracket.round.css"
469
+ }
470
+ },
471
+ "patterns" : [
472
+ {
473
+ "match" : " none(?=[)])" ,
474
+ "name" : " variable.other.css"
475
+ },
476
+ {
477
+ "include" : " source.css#string"
478
+ }
479
+ ]
480
+ }
481
+ ]
449
482
}
450
483
}
451
484
}
You can’t perform that action at this time.
0 commit comments