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
When there is a declared variable:
:root { --foo: red; }
and is used with some class, for example:
.bar { color: var( --foo ); }
In the result the variable declaration is omitted.
All works fine when
.bar { color: var(--foo); }
I know that this is the most common case of how CSS vars are written in CSS code, but the specification does not prohibit the use of spaces.
Demo on StackBlitz: https://stackblitz.com/edit/stackblitz-starters-g6qdqe?file=index.js,output.css,input.css
Used variable is preserved.
Version: 6.0.0
context
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When there is a declared variable:
and is used with some class, for example:
In the result the variable declaration is omitted.
All works fine when
I know that this is the most common case of how CSS vars are written in CSS code, but the specification does not prohibit the use of spaces.
To Reproduce
Demo on StackBlitz: https://stackblitz.com/edit/stackblitz-starters-g6qdqe?file=index.js,output.css,input.css
Expected Behavior
Used variable is preserved.
Environment
Version: 6.0.0
Add any other context about the problem here
context
Code of Conduct
The text was updated successfully, but these errors were encountered: