We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
@tailwind utilities source(…)
1 parent 2967129 commit 8e8ea08Copy full SHA for 8e8ea08
packages/vscode-tailwindcss/syntaxes/at-rules.tmLanguage.json
@@ -28,6 +28,9 @@
28
{
29
"include": "source.css#escapes"
30
},
31
+ {
32
+ "include": "#source-fn"
33
+ },
34
35
"match": "[^\\s;]+?",
36
"name": "variable.parameter.tailwind.tailwind"
@@ -446,6 +449,25 @@
446
449
"name": "punctuation.terminator.rule.css"
447
450
}
448
451
]
452
453
+ "source-fn": {
454
+ "patterns": [
455
456
+ "begin": "(?i)(source)[(](?=.*?[)])",
457
+ "beginCaptures": {
458
+ "1": {
459
+ "name": "punctuation.definition.keyword.css"
460
+ }
461
462
+ "name": "variable.parameter.tailwind.source",
463
+ "end": "(?<=[)])(?!\\G)",
464
465
466
+ "include": "source.css#string"
467
468
+ ]
469
470
471
472
473
0 commit comments