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

Unwanted dashes on uppercase-only style names #5

Open
FractalThought opened this issue Apr 14, 2020 · 0 comments
Open

Unwanted dashes on uppercase-only style names #5

FractalThought opened this issue Apr 14, 2020 · 0 comments
Assignees

Comments

@FractalThought
Copy link
Owner

Exporting styles with only uppercase letters (like "XL"), or where two uppercase letters follow each other (for example where XL is part of the name, causes the naming to become x-l due to the camelCase to kebab-case naming conversion.

Suggestion:
Add check so it doesn't convert to kebab-case if an uppercase letter follows another uppercase letter.

Style name in Figma: XL
Current output: x-l
Desired output: xl

@FractalThought FractalThought self-assigned this Apr 14, 2020
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

No branches or pull requests

1 participant