Skip to content
New issue

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

feat(Typography): prevent camelCasing typography values #384

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

BJJLangedijk
Copy link
Contributor

So we had an issue when combining with Tailwind CSS Typography, we would like to keep the default Tailwind format of classes which is kebab-case (prose-foo-bar). But since this package always transforms the keys to camelCase we were forced to use classes like prose-fooBar.

With this change it's configurable whether to convert it to camelCase or not. I was considering making it always kebab-case for typography classes but I was unsure if this is wanted

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.

1 participant