Skip to content

TailwindCSS with CSS Variables #1267

Answered by lordelogos
andrecasal asked this question in Q&A
Discussion options

You must be logged in to vote

@andrecasal @LeathanTeal

I figured out a way to use variables directly in your <Tailwind/> component.

You can use the plugin @mertasan/tailwindcss-variables
NPM: @mertasan/tailwindcss-variables

I made a gist containing a demo, you can find it here

Let me know if you have any issues

Replies: 9 comments 7 replies

This comment has been hidden.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

Comment options

You must be logged in to vote
7 replies
@barrynorman
Comment options

@barrynorman
Comment options

@gabrielmfern
Comment options

@NataliaFCavicchioli
Comment options

@gabrielmfern
Comment options

Answer selected by gabrielmfern

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
8 participants
Converted from issue

This discussion was converted from issue #729 on January 30, 2024 10:56.