Environment information
Description
The CSS parser does not support the prefix() syntax when used with @import statements in Tailwind CSS v4.
Related to #7854
Examples
@import "tailwindcss/theme.css" layer(theme) prefix(tw);
@import "tailwindcss/utilities.css" prefix(tw) layer(utilities);
Questions to address
- Does the order of
layer and prefix matter?
- How does it interact with
supports()?
References
Environment information
Description
The CSS parser does not support the
prefix()syntax when used with@importstatements in Tailwind CSS v4.Related to #7854
Examples
Questions to address
layerandprefixmatter?supports()?References
tailwindDirectivesdoes not parse@source inline();#7854tailwindDirectivesdoes not parse@source inline();#7854 (comment)