File tree 1 file changed +41
-0
lines changed
packages/vscode-tailwindcss/syntaxes
1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 4
4
"injectionSelector" : " L:source.css -comment -source.css.scss" ,
5
5
"name" : " TailwindCSS" ,
6
6
"patterns" : [
7
+ {
8
+ "begin" : " (?i)((@)import)(?:\\ s+|$|(?=['\" ]|/\\ *))" ,
9
+ "beginCaptures" : {
10
+ "1" : {
11
+ "name" : " keyword.control.at-rule.import.css"
12
+ },
13
+ "2" : {
14
+ "name" : " punctuation.definition.keyword.css"
15
+ }
16
+ },
17
+ "end" : " ;" ,
18
+ "endCaptures" : {
19
+ "0" : {
20
+ "name" : " punctuation.terminator.rule.css"
21
+ }
22
+ },
23
+ "name" : " meta.at-rule.import.css" ,
24
+ "patterns" : [
25
+ {
26
+ "begin" : " \\ G\\ s*(?=/\\ *)" ,
27
+ "end" : " (?<=\\ */)\\ s*" ,
28
+ "patterns" : [
29
+ {
30
+ "include" : " source.css#comment-block"
31
+ }
32
+ ]
33
+ },
34
+ {
35
+ "include" : " source.css#string"
36
+ },
37
+ {
38
+ "include" : " source.css#url"
39
+ },
40
+ {
41
+ "include" : " #source-fn"
42
+ },
43
+ {
44
+ "include" : " source.css#media-query-list"
45
+ }
46
+ ]
47
+ },
7
48
{
8
49
"begin" : " (?i)((@)tailwind)(?=\\ s|/\\ *|$)" ,
9
50
"beginCaptures" : {
You can’t perform that action at this time.
0 commit comments