Skip to content

Commit d068ef5

Browse files
committed
allow theme(static)
This will make sure that all variable are emitted regardless of whether it's used or not.
1 parent 9563726 commit d068ef5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/tailwindcss/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ function parseThemeOptions(params: string) {
6464
options |= ThemeOptions.INLINE
6565
} else if (option === 'default') {
6666
options |= ThemeOptions.DEFAULT
67+
} else if (option === 'static') {
68+
options |= ThemeOptions.STATIC
6769
} else if (option.startsWith('prefix(') && option.endsWith(')')) {
6870
prefix = option.slice(7, -1)
6971
}

0 commit comments

Comments
 (0)