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

Minify colours in CSS variables #443

Open
asos-tomp opened this issue Oct 6, 2021 · 0 comments
Open

Minify colours in CSS variables #443

asos-tomp opened this issue Oct 6, 2021 · 0 comments

Comments

@asos-tomp
Copy link

asos-tomp commented Oct 6, 2021

Although this (from docs) works:

csso.minify('.test { color: #ff0000; }').css
// .test{color:red}

...the same doesn't appear to apply to css custom properties:

css.minify(':root { --test: #FF0000; }').css
// expected: :root{--test:red}
// received: :root{--test:#FF0000}
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