We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
theme(static),
source()
prefix()
important
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
Hey!
The documentation needs some updates in the Disable Preflight section, explaining how to add advanced config without @import "tailwindcss";"
@import "tailwindcss";"
I gathered some config infos here and here.
How to use source(none) without preflight:
source(none)
@layer theme, base, components, utilities; @import "tailwindcss/theme.css" layer(theme); @import "tailwindcss/utilities.css" layer(utilities) source(none);
How to use theme(static) without preflight: (always output all variables)
theme(static)
@layer theme, base, components, utilities; @import "tailwindcss/theme.css" layer(theme) theme(static); @import "tailwindcss/utilities.css" layer(utilities);
How to use prefix(tw) without preflight:
prefix(tw)
@layer theme, base, components, utilities; @import "tailwindcss/theme.css" layer(theme) prefix(tw); @import "tailwindcss/utilities.css" layer(utilities);
How to use important without preflight:
@layer theme, base, components, utilities; @import "tailwindcss/theme.css" layer(theme); @import "tailwindcss/utilities.css" layer(utilities) important;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hey!
The documentation needs some updates in the Disable Preflight section, explaining how to add advanced config without
@import "tailwindcss";"
I gathered some config infos here and here.
How to use
source(none)
without preflight:How to use
theme(static)
without preflight: (always output all variables)How to use
prefix(tw)
without preflight:How to use
important
without preflight:The text was updated successfully, but these errors were encountered: