File tree 2 files changed +18
-0
lines changed
packages/vscode-tailwindcss
2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 8
8
- Add support for ` <script type="text/babel"> ` (#932 )
9
9
- Show pixel equivalents in completions and hovers of the theme() helper (#935 )
10
10
- Handle ` style ` exports condition when processing ` @import ` s (#934 )
11
+ - Highlight ` @theme ` contents as a rule list (#937 )
11
12
12
13
## 0.10.5
13
14
Original file line number Diff line number Diff line change 124
124
}
125
125
]
126
126
},
127
+ {
128
+ "begin" : " (?i)((@)theme)(?=[\\ s{]|/\\ *|$)" ,
129
+ "beginCaptures" : {
130
+ "1" : {
131
+ "name" : " keyword.control.at-rule.theme.tailwind"
132
+ },
133
+ "2" : {
134
+ "name" : " punctuation.definition.keyword.css"
135
+ }
136
+ },
137
+ "end" : " (?<=}|;)(?!\\ G)" ,
138
+ "patterns" : [
139
+ {
140
+ "include" : " source.css#rule-list"
141
+ }
142
+ ]
143
+ },
127
144
{
128
145
"begin" : " (?i)((@)variants)(?=[\\ s{]|/\\ *|$)" ,
129
146
"beginCaptures" : {
You can’t perform that action at this time.
0 commit comments