Skip to content

CSS variables don't work properly #516

Closed Answered by sadeghbarati
Crysta1221 asked this question in Q&A
Discussion options

You must be logged in to vote

https://stackblitz.com/edit/github-vxl5ew (also I'm using a new shadcn-nuxt module version in this Stackblitz which will be released soon in npm)

Check your tailwind.config.ts you do not define the colors in tailwindcss config file, that is why CSS variables don't affect your button style

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@Crysta1221
Comment options

@sadeghbarati
Comment options

Answer selected by Crysta1221
@Crysta1221
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants