stylex
stylex copied to clipboard
[eslint-plugin] valid-shorthands not allowing hsl / a color format
Describe the issue
This is supported
borderColor: 'hsla(210,3%,15%,0.1)',
this is not:
borderColor: 'hsl(220 3% 15% / 10%)',
Expected behavior
Both should be supported
Steps to reproduce
latest eslint plugin
Test case
No response
Additional comments
No response
This is likely an issue with some of the special handling logic we added when shorthand expansion package fails. We're missing handling for that color format. Will put up a fix