File tree Expand file tree Collapse file tree 1 file changed +79
-1
lines changed
packages/vscode-tailwindcss/syntaxes Expand file tree Collapse file tree 1 file changed +79
-1
lines changed Original file line number Diff line number Diff line change 11{
22 "scopeName" : " tailwindcss.theme-fn.injection" ,
33 "fileTypes" : [],
4- "injectionSelector" : " L:meta.property-list.css -comment" ,
4+ "injectionSelector" : [ " L:meta.property-list.css -comment" ] ,
55 "name" : " TailwindCSS" ,
66 "patterns" : [
77 {
5555 "name" : " variable.parameter.screen.tailwind"
5656 }
5757 ]
58+ },
59+ {
60+ "begin" : " (?i)(?<![\\ w-])(--alpha)(\\ ()" ,
61+ "beginCaptures" : {
62+ "1" : {
63+ "name" : " support.function.alpha.tailwind"
64+ },
65+ "2" : {
66+ "name" : " punctuation.section.function.begin.bracket.round.css"
67+ }
68+ },
69+ "end" : " \\ )" ,
70+ "endCaptures" : {
71+ "0" : {
72+ "name" : " punctuation.section.function.end.bracket.round.css"
73+ }
74+ },
75+ "patterns" : [
76+ {
77+ "include" : " source.css#string"
78+ },
79+ {
80+ "match" : " [^\\ s\\ )]+" ,
81+ "name" : " variable.parameter.alpha.tailwind"
82+ }
83+ ]
84+ },
85+ {
86+ "begin" : " (?i)(?<![\\ w-])(--value)(\\ ()" ,
87+ "beginCaptures" : {
88+ "1" : {
89+ "name" : " support.function.value.tailwind"
90+ },
91+ "2" : {
92+ "name" : " punctuation.section.function.begin.bracket.round.css"
93+ }
94+ },
95+ "end" : " \\ )" ,
96+ "endCaptures" : {
97+ "0" : {
98+ "name" : " punctuation.section.function.end.bracket.round.css"
99+ }
100+ },
101+ "patterns" : [
102+ {
103+ "include" : " source.css#string"
104+ },
105+ {
106+ "match" : " [^\\ s\\ )]+" ,
107+ "name" : " variable.parameter.value.tailwind"
108+ }
109+ ]
110+ },
111+ {
112+ "begin" : " (?i)(?<![\\ w-])(--modifier)(\\ ()" ,
113+ "beginCaptures" : {
114+ "1" : {
115+ "name" : " support.function.modifier.tailwind"
116+ },
117+ "2" : {
118+ "name" : " punctuation.section.function.begin.bracket.round.css"
119+ }
120+ },
121+ "end" : " \\ )" ,
122+ "endCaptures" : {
123+ "0" : {
124+ "name" : " punctuation.section.function.end.bracket.round.css"
125+ }
126+ },
127+ "patterns" : [
128+ {
129+ "include" : " source.css#string"
130+ },
131+ {
132+ "match" : " [^\\ s\\ )]+" ,
133+ "name" : " variable.parameter.modifier.tailwind"
134+ }
135+ ]
58136 }
59137 ]
60138}
You can’t perform that action at this time.
0 commit comments