We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
CLI: Version: 1.9.4 Color support: true Platform: CPU Architecture: aarch64 OS: macos Environment: BIOME_LOG_PATH: unset BIOME_LOG_PREFIX_NAME: unset BIOME_CONFIG_PATH: unset NO_COLOR: unset TERM: "xterm-256color" JS_RUNTIME_VERSION: "v22.12.0" JS_RUNTIME_NAME: "node" NODE_PACKAGE_MANAGER: "npm/11.1.0" Biome Configuration: Status: Loaded successfully Formatter disabled: false Linter disabled: false Organize imports disabled: false VCS disabled: false Workspace: Open Documents: 0
When using the new Tailwind 4 import and prefix CSS functions together, the parser and linter fail to parse the file.
import
prefix
Prefix doc: https://tailwindcss.com/docs/upgrade-guide#using-a-prefix
Repro: https://biomejs.dev/playground/?unsafeParameterDecoratorsEnabled=false&allowComments=false&files.main.css=QABpAG0AcABvAHIAdAAgACIAdABhAGkAbAB3AGkAbgBkAGMAcwBzAC8AdQB0AGkAbABpAHQAaQBlAHMALgBjAHMAcwAiACAAcAByAGUAZgBpAHgAKABkAHYAKQA7AAoAQABpAG0AcABvAHIAdAAgACIAdABhAGkAbAB3AGkAbgBkAGMAcwBzAC8AdABoAGUAbQBlAC4AYwBzAHMAIgAgAHAAcgBlAGYAaQB4ACgAZAB2ACkAOwAKAAoAQABwAGwAdQBnAGkAbgAgACIAdABhAGkAbAB3AGkAbgBkAGMAcwBzAC0AYQBuAGkAbQBhAHQAZQAiADsACgA%3D
Should not report any error
The text was updated successfully, but these errors were encountered:
That's not a valid CSS syntax. See also #3195
Sorry, something went wrong.
No branches or pull requests
Environment information
What happened?
When using the new Tailwind 4
import
andprefix
CSS functions together, the parser and linter fail to parse the file.Prefix doc: https://tailwindcss.com/docs/upgrade-guide#using-a-prefix
Repro: https://biomejs.dev/playground/?unsafeParameterDecoratorsEnabled=false&allowComments=false&files.main.css=QABpAG0AcABvAHIAdAAgACIAdABhAGkAbAB3AGkAbgBkAGMAcwBzAC8AdQB0AGkAbABpAHQAaQBlAHMALgBjAHMAcwAiACAAcAByAGUAZgBpAHgAKABkAHYAKQA7AAoAQABpAG0AcABvAHIAdAAgACIAdABhAGkAbAB3AGkAbgBkAGMAcwBzAC8AdABoAGUAbQBlAC4AYwBzAHMAIgAgAHAAcgBlAGYAaQB4ACgAZAB2ACkAOwAKAAoAQABwAGwAdQBnAGkAbgAgACIAdABhAGkAbAB3AGkAbgBkAGMAcwBzAC0AYQBuAGkAbQBhAHQAZQAiADsACgA%3D
Expected result
Should not report any error
Code of Conduct
The text was updated successfully, but these errors were encountered: