Skip to content

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

3 participants