Skip to content

How to use theme function inside style teg? #17285

Answered by wongjn
Nobody9512 asked this question in Help
Discussion options

You must be logged in to vote

Use a CSS variable: https://play.tailwindcss.com/GlXoTrvJqX. Note: you may not need the theme(static) tag in your project.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Nobody9512
Comment options

Answer selected by Nobody9512
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants