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

Sort by layer inside variants layer #10505

Merged
merged 3 commits into from
Feb 6, 2023
Merged

Sort by layer inside variants layer #10505

merged 3 commits into from
Feb 6, 2023

Conversation

RobinMalfait
Copy link
Member

This PR fixes a sorting issue within the variants layer.

We currently have a whole system for sorting the utilties / components already. Right now we also have a "variants" layer, this is to ensure that we always have variants at the end of the file regardless of the parentLayer (base, utilties, components).

That said, we also have to make sure that within this variants layer we also sort by the parentLayer.

Fixes: #10494

We currently have a whole system for sorting the utilties / components
already. Right now we also have a "variants" layer, this is to ensure
that we always have variants at the end of the file regardless of the
`parentLayer` (base, utilties, components).

That said, we also have to make sure that within this `variants` layer
we also sort by the `parentLayer`.
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.

CSS injection order changed between 3.1.8 and 3.2.0
1 participant