Best approach for per-platform dark & light theming #458
|
The docs show |
Answered by
Brentlok
Mar 17, 2026
Replies: 1 comment
|
You can combine variants like you would normally do in tailwind @layer theme {
:root {
@variant dark {
@variant ios {
--color-special: purple;
}
}
}
} |
0 replies
Answer selected by
prathameshmm02
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can combine variants like you would normally do in tailwind
For selectors -
ios:dark:opacity-0For css: