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

var(--tw-empty,/*!*/ /*!*/) wrongly processed #444

Open
TutorialDoctor opened this issue Jan 6, 2022 · 0 comments
Open

var(--tw-empty,/*!*/ /*!*/) wrongly processed #444

TutorialDoctor opened this issue Jan 6, 2022 · 0 comments

Comments

@TutorialDoctor
Copy link

TutorialDoctor commented Jan 6, 2022

TailwindCSS uses this workaround to set the value of a CSS variable to a single empty space:

--tw-ring-inset: var(--tw-empty,/!/ /!/);

This is valid but the sass compressor gives me the following when running tests:

Invalid CSS after "...pty,/*!*/ /*!*/": expected function argument, was ");"

There are more details around this in the following ticket:

tailwindlabs/tailwindcss#2889
tailwindlabs/tailwindcss#3328

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

No branches or pull requests

1 participant