Skip to content

Commit 6131871

Browse files
committed
fix(theme): use @theme inline to properly reference css variables
Resolves #4018 https://tailwindcss.com/docs/theme#referencing-other-variables
1 parent 9543bce commit 6131871

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/templates.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export function getTemplates(options: ModuleOptions, uiConfig: Record<string, an
7777
write: true,
7878
getContents: () => `@source "./ui";
7979
80-
@theme default {
80+
@theme default inline {
8181
--color-old-neutral-50: ${colors.neutral[50]};
8282
--color-old-neutral-100: ${colors.neutral[100]};
8383
--color-old-neutral-200: ${colors.neutral[200]};

0 commit comments

Comments
 (0)