Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customer Format or way to define type of variables used in tailwind.config #347

Open
pivotpointux opened this issue Feb 28, 2024 · 1 comment

Comments

@pivotpointux
Copy link
Contributor

Is there a way to define the type of variables included in the built tailwind.config file?

e.g. currently if the variables flag is true then the variables are CSS variables such as var(--my-variable). Is it possible to have these as JS consts for example?

Either way, how do you recommend maintaining / including token aliases in the built tailwind.config file, so that a value can be a variable pointing to another key in the object?

@dougajmcdonald
Copy link

I can't be 100% but at a guess surely your SD config handles the aliasing? this transformer is just outputting the tailwind config to match your SD setup?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants