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
The issue is that when a key with the value of --my-variable is split by '-', the returned array that's operated on looks like this:
[
'',
'',
'my',
'variable'
]
The logic in the map is uppercasing every value after the first index in the array.
The key should first be stripped of leading dashes and underscores so it supports not only future spec CSS variables, but also Vendor-specific extensions.
When converting the following CSS the variable properties come out UpperCamelCase.
Note: This is using PostCSS and cssnext.
Source:
Result:
Could this be supported or an option to select upper- or lower-case?
The text was updated successfully, but these errors were encountered: