You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can tell, stylefmt looks up the color-hex-case and then uses the result to format not only the HEX cases, but other cases, like rgba and even plain colors.
So, if color-hex-case is set to "upper", then we end up with:
color: #AABBCC; // this one is correct
color: WHITE; // this one is incorrect, it should not be changed
color: RGBA(0,0,0,0); // this one is incorrect, it should not be changed
As a result, stylelint complains after applying stylefmt (whith color-hex-code set to 'upper'):
Expected "RGBA" to be "rgba" function-name-case
Please consider removing uppercase/lowercase conversions for non-hex colors, since color-hex-case is only for the hex colors
The text was updated successfully, but these errors were encountered:
As far as I can tell, stylefmt looks up the
color-hex-case
and then uses the result to format not only the HEX cases, but other cases, like rgba and even plain colors.So, if color-hex-case is set to "upper", then we end up with:
As a result, stylelint complains after applying stylefmt (whith color-hex-code set to 'upper'):
Please consider removing uppercase/lowercase conversions for non-hex colors, since
color-hex-case
is only for the hex colorsThe text was updated successfully, but these errors were encountered: