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

unquoteFromKeys causes error #393

Open
jonasvle opened this issue Dec 16, 2024 · 0 comments
Open

unquoteFromKeys causes error #393

jonasvle opened this issue Dec 16, 2024 · 0 comments

Comments

@jonasvle
Copy link

Some of our tokens end in a 3 digit number, e.g.

  • border-radius-750
  • border-radius-200
  • border-radius-050

When converting our tokens to a tailwind config, the unquoteFromKeys causes the quotes to be removed from the 3 digit numbers making it an actual number instead of a string, which gives an error for the digits starting with 0.
image

These keys should remain a string. Expected:
image

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