Is there any convenient way to extend Tailwind classes depending on some class on body tag? For example some theme related class. How to have one Tailwind class that will change depending on some parent class?
.dark {
& .tailwind-class {
color: black
}
}
.light {
& .tailwind-class {
color: white
}
}
Is there any convenient way to extend Tailwind classes depending on some class on body tag? For example some theme related class. How to have one Tailwind class that will change depending on some parent class?