Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
Avi
Explore posts from servers
KPC
Kevin Powell - Community
PD
🧩 Plasmo Developers
TTC
Theo's Typesafe Cult
Posts
Comments
TTC
Theo's Typesafe Cult
•
Created by Avi on 3/24/2024 in
#questions
Tailwind CSS variables based on light/dark mode
Thanks! Though someone provided me with a better solution:
<
main
class
=
"bg-[var(--bg)]"
></
main
>
<
main
class
=
"bg-[var(--bg)]"
></
main
>
4 replies