How to create multi theme using tailwind v4 #15222
Unanswered
azharuddin-mulla-amla
asked this question in
Help
Replies: 1 comment 1 reply
-
You can have the values reference CSS variables and then switch out those variables per theme: https://play.tailwindcss.com/806fAQKJoN |
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
-
let suppose I have three different theme like light, neon, minimalist. each theme has different design system and also override default theme too. and It should be switch base on theme
<div data-theme="minimalist"> <h1 className="bg-test">Hello world!</h1> <h1 className="text-test">Hello world!</h1> </div>
.Beta Was this translation helpful? Give feedback.
All reactions