Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dark mode class strategy not compatible with complex variants like group-hover #2336

Closed
adamwathan opened this issue Sep 6, 2020 · 0 comments · Fixed by #2337
Closed

Dark mode class strategy not compatible with complex variants like group-hover #2336

adamwathan opened this issue Sep 6, 2020 · 0 comments · Fixed by #2337

Comments

@adamwathan
Copy link
Member

Using the dark mode stuff in class mode with group-hover enabled generates selectors like this:

.dark .dark\:group:hover .dark .dark\:group-hover\:bg-white 

...which seems pretty wrong.

I think the correct output should be this:

.dark .group:hover .dark\:group-hover\:bg-white 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant