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

Group variant stacking #4551

Merged
merged 2 commits into from
Jun 3, 2021
Merged

Group variant stacking #4551

merged 2 commits into from
Jun 3, 2021

Conversation

RobinMalfait
Copy link
Member

@RobinMalfait RobinMalfait commented Jun 3, 2021

This PR will make it possible to stack group variants together. It will make sure that all the states like focus and hover are applied to the .group correctly.

HTML:

<div class="group">
  <div class="group-focus:group-hover:font-bold"></div>
</div>

Will generate:

.group:focus:hover .group-focus\:group-hover\:font-bold {
  font-weight: 700;
}

This is a jit only feature.

@RobinMalfait RobinMalfait merged commit d6b11b3 into master Jun 3, 2021
@RobinMalfait RobinMalfait deleted the group-variant-stacking branch June 3, 2021 13:25
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.

1 participant