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

Fix issue where dark variant in 'class' mode was incompatible with 'group-hover' variant #2337

Merged
merged 2 commits into from
Sep 7, 2020

Conversation

adamwathan
Copy link
Member

Fixes #2336.

Long term I need to consider the whole "make it possible for variants to control which class is the 'variant target'" concept but this is good enough for now.

@adamwathan adamwathan merged commit 0cf76cd into master Sep 7, 2020
@adamwathan adamwathan deleted the fix-dark-group-hover branch September 7, 2020 00:34
@zaydek
Copy link

zaydek commented Sep 7, 2020

This fix works for me — thank you.

I don’t know if this is important to you, but I wanted to let you know the current output has two spaces instead of one:

.dark··.dark\:bg-transparent {
  background-color: transparent;
}

@adamwathan
Copy link
Member Author

Ah thank you, just pushed a tweak for that too! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dark mode class strategy not compatible with complex variants like group-hover
2 participants