@@ -205,7 +205,7 @@ exports[`@import 1`] = `
205205 ^ 1: punctuation.definition.string.end.css
206206 ^^^^^ 1: support.function.theme.css
207207 ^ 1: punctuation.section.function.begin.bracket.round.css
208- ^^^^^^ 1: variable.other .css
208+ ^^^^^^ 1: support.constant.theme-option .css
209209 ^ 1: punctuation.section.function.end.bracket.round.css
210210 ^ 1: punctuation.terminator.rule.css
211211
@@ -218,7 +218,7 @@ exports[`@import 1`] = `
218218 ^ 1: punctuation.definition.string.end.css
219219 ^^^^^ 1: support.function.theme.css
220220 ^ 1: punctuation.section.function.begin.bracket.round.css
221- ^^^^^^^^^^^^^^^^^^^^^ 5: variable.other .css
221+ ^^^^^^ ^^^^^^^ ^^^^^^ 3: support.constant.theme-option .css
222222 ^ 1: punctuation.section.function.end.bracket.round.css
223223 ^ 1: punctuation.terminator.rule.css
224224
@@ -231,7 +231,7 @@ exports[`@import 1`] = `
231231 ^ 1: punctuation.definition.string.end.css
232232 ^^^^^ 1: support.function.theme.css
233233 ^ 1: punctuation.section.function.begin.bracket.round.css
234- ^^^^^^^^^^^^^^^^^^^^ 3: variable.other .css
234+ ^^^^^^^^^ ^^^^^^^^^^ 2: support.constant.theme-option .css
235235 ^ 1: punctuation.section.function.end.bracket.round.css
236236 ^ 1: punctuation.terminator.rule.css
237237
@@ -245,8 +245,9 @@ exports[`@import 1`] = `
245245 ^^^^^ 1: support.function.theme.css
246246 ^ ^ 2: punctuation.section.function.begin.bracket.round.css
247247 ^^^^^^ 1: support.function.prefix.css
248- ^^ ^^^^^^^^^^ 3 : variable.other.css
248+ ^^ 1 : variable.other.css
249249 ^ ^ 2: punctuation.section.function.end.bracket.round.css
250+ ^^^^^^^^^ 1: support.constant.theme-option.css
250251 ^ 1: punctuation.terminator.rule.css
251252
252253@import './test.css' theme(default invalid reference);
@@ -258,8 +259,8 @@ exports[`@import 1`] = `
258259 ^ 1: punctuation.definition.string.end.css
259260 ^^^^^ 1: support.function.theme.css
260261 ^ 1: punctuation.section.function.begin.bracket.round.css
261- ^^^^^^^^ ^^^^^^^^^^ 4: variable.other .css
262- ^^^^^^^ 1: invalid.illegal.invalid-source .css
262+ ^^^^^^^ ^^^^^^^^^ 2: support.constant.theme-option .css
263+ ^^^^^^^ 1: invalid.illegal.theme-option .css
263264 ^ 1: punctuation.section.function.end.bracket.round.css
264265 ^ 1: punctuation.terminator.rule.css
265266
@@ -360,7 +361,7 @@ exports[`@import 1`] = `
360361 ^ 1: punctuation.definition.string.end.css
361362 ^^^^^ 1: support.function.theme.css
362363 ^ 1: punctuation.section.function.begin.bracket.round.css
363- ^^^^^^ 1: variable.other .css
364+ ^^^^^^ 1: support.constant.theme-option .css
364365 ^ 1: punctuation.section.function.end.bracket.round.css
365366 ^ 1: punctuation.terminator.rule.css
366367
@@ -373,7 +374,7 @@ exports[`@import 1`] = `
373374 ^ 1: punctuation.definition.string.end.css
374375 ^^^^^ 1: support.function.theme.css
375376 ^ 1: punctuation.section.function.begin.bracket.round.css
376- ^^^^^^^^^^^^^^^^^^^^^ 5: variable.other .css
377+ ^^^^^^ ^^^^^^^ ^^^^^^ 3: support.constant.theme-option .css
377378 ^ 1: punctuation.section.function.end.bracket.round.css
378379 ^ 1: punctuation.terminator.rule.css
379380
@@ -386,7 +387,7 @@ exports[`@import 1`] = `
386387 ^ 1: punctuation.definition.string.end.css
387388 ^^^^^ 1: support.function.theme.css
388389 ^ 1: punctuation.section.function.begin.bracket.round.css
389- ^^^^^^^^^^^^^^^^^^^^ 3: variable.other .css
390+ ^^^^^^^^^ ^^^^^^^^^^ 2: support.constant.theme-option .css
390391 ^ 1: punctuation.section.function.end.bracket.round.css
391392 ^ 1: punctuation.terminator.rule.css
392393
@@ -400,8 +401,9 @@ exports[`@import 1`] = `
400401 ^^^^^ 1: support.function.theme.css
401402 ^ ^ 2: punctuation.section.function.begin.bracket.round.css
402403 ^^^^^^ 1: support.function.prefix.css
403- ^^ ^^^^^^^^^^ 3 : variable.other.css
404+ ^^ 1 : variable.other.css
404405 ^ ^ 2: punctuation.section.function.end.bracket.round.css
406+ ^^^^^^^^^ 1: support.constant.theme-option.css
405407 ^ 1: punctuation.terminator.rule.css
406408
407409@reference './test.css' theme(default invalid reference);
@@ -413,8 +415,8 @@ exports[`@import 1`] = `
413415 ^ 1: punctuation.definition.string.end.css
414416 ^^^^^ 1: support.function.theme.css
415417 ^ 1: punctuation.section.function.begin.bracket.round.css
416- ^^^^^^^^ ^^^^^^^^^^ 4: variable.other .css
417- ^^^^^^^ 1: invalid.illegal.invalid-source .css
418+ ^^^^^^^ ^^^^^^^^^ 2: support.constant.theme-option .css
419+ ^^^^^^^ 1: invalid.illegal.theme-option .css
418420 ^ 1: punctuation.section.function.end.bracket.round.css
419421 ^ 1: punctuation.terminator.rule.css
420422"
@@ -727,7 +729,6 @@ exports[`@theme 1`] = `
727729^^^^^^^^ 4 : source .css .tailwind
728730^^^^^^ 2 : keyword .control .at - rule .theme .tailwind
729731^ 1 : punctuation .definition .keyword .css
730- ^ 1 : variable .other .css
731732 ^ 1 : meta .at - rule .theme .body .tailwind punctuation .section .theme .begin .bracket .curly .tailwind
732733
733734 -- color : red ;
@@ -744,7 +745,7 @@ exports[`@theme 1`] = `
744745^^^^^^^^^^^^^^^ 6 : source .css .tailwind
745746^^^^^^ 2 : keyword .control .at - rule .theme .tailwind
746747^ 1 : punctuation .definition .keyword .css
747- ^^^^^^^^ 3 : variable . other .css
748+ ^^^^^^ 1 : support . constant . theme - option .css
748749 ^ 1 : meta .at - rule .theme .body .tailwind punctuation .section .theme .begin .bracket .curly .tailwind
749750
750751 -- color : red ;
@@ -761,7 +762,7 @@ exports[`@theme 1`] = `
761762^^^^^^^^^^^^^^^^^^^^^^^^^^ 8 : source .css .tailwind
762763^^^^^^ 2 : keyword .control .at - rule .theme .tailwind
763764^ 1 : punctuation .definition .keyword .css
764- ^^^^^^^^^^^^^^^^^^^ 5 : variable . other .css
765+ ^^^^^^ ^^^^^^^^^^ 2 : support . constant . theme - option .css
765766 ^ 1 : meta .at - rule .theme .body .tailwind punctuation .section .theme .begin .bracket .curly .tailwind
766767
767768 -- color : red ;
@@ -780,8 +781,9 @@ exports[`@theme 1`] = `
780781^ 1 : punctuation .definition .keyword .css
781782 ^^^^^^ 1 : support .function .prefix .css
782783 ^ 1 : punctuation .section .function .begin .bracket .round .css
783- ^^ ^^^^^^^^ 4 : variable .other .css
784+ ^^ 1 : variable .other .css
784785 ^ 1 : punctuation .section .function .end .bracket .round .css
786+ ^^^^^^ 1 : support .constant .theme - option .css
785787 ^ 1 : meta .at - rule .theme .body .tailwind punctuation .section .theme .begin .bracket .curly .tailwind
786788
787789 -- color : red ;
@@ -801,7 +803,6 @@ exports[`@theme 1`] = `
801803^^^^^^^^ 4 : source .css .tailwind
802804^^^^^^ 2 : keyword .control .at - rule .theme .tailwind
803805^ 1 : punctuation .definition .keyword .css
804- ^ 1 : variable .other .css
805806 ^ 1 : meta .at - rule .theme .body .tailwind punctuation .section .theme .begin .bracket .curly .tailwind
806807
807808 -- spacing : initial ;
0 commit comments