-
Notifications
You must be signed in to change notification settings - Fork 15
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
Cascade layers #1712
Cascade layers #1712
Conversation
|
|
||
@import 'tailwindcss/base' layer(l-base); | ||
@import 'nextra-theme-docs/dist/style.css' layer(l-nextra); | ||
@import 'tailwindcss/components' layer(l-components); | ||
@import 'tailwindcss/utilities'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've left tailwindcss/uitilities
in the implicit layer, so the utility classes in React code can override any code in .css
files with normal specificity like they do currently.
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
Imported Nextra and Tailwind styles into new layers and refactored code that needed extra CSS specificity before.