Using a theme file generated from styled-dictionary with vanilla-extract #1169
Replies: 1 comment 1 reply
-
This may be same with #1040 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am uncertain about whether to use
@vanilla-extract/css
for the following scenario.Currently, we are distributing design tokens using style-dictionary, which generates outputs like CSS variables and
theme.ts
. Below is a portion of thetheme.ts
file.When attempting to use the generated theme by passing it as an argument to
createGlobalTheme
, I encounter the following type error:Error at the relevant line:
What is the reason createGlobalTheme does not accept number types, etc.?
Beta Was this translation helpful? Give feedback.
All reactions