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

Move defaults to their own always-on layer #6500

Merged
merged 5 commits into from
Dec 14, 2021
Merged

Conversation

thecrypticace
Copy link
Contributor

Default's declarations are now processed and merged even when there is no tailwind base directive included in the stylesheet. Without this applying tailwind utilities in css modules would break if they relied on defaults rules.

In addition to this there's now a new (internal) api to add defaults.

Note: The Symbol approach didn't work properly. Still trying to work out why.

@thecrypticace thecrypticace marked this pull request as ready for review December 14, 2021 17:16
thecrypticace and others added 5 commits December 14, 2021 12:18
This preps us for introducing an implicitly included layer for defaults
Default's declarations are now processed and merged even when there is no tailwind base directive included in the stylesheet. Without this applying tailwind utilities in css modules would break if they relied on defaults rules.
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.

2 participants