Skip to content

Conversation

thecrypticace
Copy link
Contributor

@thecrypticace thecrypticace commented Jan 3, 2022

Before when parsing --testVariable0 it would end up as --test-variable0. We still want to convert properties to kebab-case in the typical case so we only bail for css custom properties. Additionally, without this you can't round trip CSS though objectify -> parser when CSS variables are being used that have any uppercase characters.

It's possible that this behavior is relied upon by some css-in-js users in which case should this be turned into a configuration option instead?

Before when parsing --testVariable0 it would end up as --test-variable-0. We still want to convert properties to kebab-case in the typical case so we only bail for css custom properties.
@ai
Copy link
Member

ai commented Jan 5, 2022

Yeap, let’s keep CSS Custom Properties names as is.

@ai
Copy link
Member

ai commented Jan 5, 2022

Thanks. Released in 4.0 (I decided to be careful and to release it in major update).

@thecrypticace
Copy link
Contributor Author

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants