We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Values in hsl can contain both numbers and percentages.
When converted to legacy syntax these must become homogenous.
See : https://preset-env.cssdb.org/playground/#JTdCJTIyc291cmNlJTIyJTNBJTIyLmZvbyUyMCU3QiU1Q24lNUN0Y29sb3IlM0ElMjBoc2woMTIwZGVnJTIwMTAwJTIwMjUuMSUyNSklM0IlNUNuJTdEJTVDbiUyMiUyQyUyMmNvbmZpZyUyMiUzQSU3QiUyMmJyb3dzZXJzJTIyJTNBJTVCJTIyaWUlMjAxMCUyMiU1RCUyQyUyMm1pbmltdW1WZW5kb3JJbXBsZW1lbnRhdGlvbnMlMjIlM0EwJTJDJTIyc3RhZ2UlMjIlM0EyJTJDJTIybG9naWNhbCUyMiUzQSU3QiUyMmlubGluZURpcmVjdGlvbiUyMiUzQSUyMmxlZnQtdG8tcmlnaHQlMjIlMkMlMjJibG9ja0RpcmVjdGlvbiUyMiUzQSUyMnRvcC10by1ib3R0b20lMjIlN0QlMkMlMjJmZWF0dXJlcyUyMiUzQSU3QiUyMm5lc3RpbmctcnVsZXMlMjIlM0ElN0IlMjJub0lzUHNldWRvU2VsZWN0b3IlMjIlM0FmYWxzZSU3RCU3RCU3RCU3RA==
.foo { color: hsl(120deg 100 25.1%); }
.foo { color: hsl(120deg, 100%, 25.1%); }
.foo { color: hsl(120, 100, 25.1%); }
npx @csstools/csstools-cli <plugin-name> minimal-example.css
Yes
No response
PostCSS Color Functional Notation
any
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Bug description
Values in hsl can contain both numbers and percentages.
When converted to legacy syntax these must become homogenous.
See : https://preset-env.cssdb.org/playground/#JTdCJTIyc291cmNlJTIyJTNBJTIyLmZvbyUyMCU3QiU1Q24lNUN0Y29sb3IlM0ElMjBoc2woMTIwZGVnJTIwMTAwJTIwMjUuMSUyNSklM0IlNUNuJTdEJTVDbiUyMiUyQyUyMmNvbmZpZyUyMiUzQSU3QiUyMmJyb3dzZXJzJTIyJTNBJTVCJTIyaWUlMjAxMCUyMiU1RCUyQyUyMm1pbmltdW1WZW5kb3JJbXBsZW1lbnRhdGlvbnMlMjIlM0EwJTJDJTIyc3RhZ2UlMjIlM0EyJTJDJTIybG9naWNhbCUyMiUzQSU3QiUyMmlubGluZURpcmVjdGlvbiUyMiUzQSUyMmxlZnQtdG8tcmlnaHQlMjIlMkMlMjJibG9ja0RpcmVjdGlvbiUyMiUzQSUyMnRvcC10by1ib3R0b20lMjIlN0QlMkMlMjJmZWF0dXJlcyUyMiUzQSU3QiUyMm5lc3RpbmctcnVsZXMlMjIlM0ElN0IlMjJub0lzUHNldWRvU2VsZWN0b3IlMjIlM0FmYWxzZSU3RCU3RCU3RCU3RA==
Source CSS
Expected CSS
Actual CSS
Does it happen with
npx @csstools/csstools-cli <plugin-name> minimal-example.css
?Yes
Debug output
No response
Extra config
No response
What plugin are you experiencing this issue on?
PostCSS Color Functional Notation
Plugin version
any
What OS are you experiencing this on?
No response
Node Version
any
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: