We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We have variables for spacing and colors etc where the last component/portion of the variable name is camelCased.
For example
spacing/extraExtraSmall
spacing/extraSmall
colour/alert/mentalHealth
when exported, the keys are all lower cased:
"tokens-spacing": { "spacing": { "extraextrasmall": { "type": "dimension", "value": "{primitives.mode 1.digits.4}" }, "extrasmall": { "type": "dimension", "value": "{primitives.mode 1.digits.8}" }, ... "tokens-colour": { "dark": { "alert": { "safety": { "mentalhealth": { "type": "color", "value": "{primitives.dark.colours.yellow.01}" }
was expecting them to be:
"tokens-spacing": { "spacing": { "extraExtraSmall": { "type": "dimension", "value": "{primitives.mode 1.digits.4}" }, "extraSmall": { "type": "dimension", "value": "{primitives.mode 1.digits.8}" }, ... "tokens-colour": { "dark": { "alert": { "safety": { "mentalHealth": { "type": "color", "value": "{primitives.dark.colours.yellow.01}" }
The text was updated successfully, but these errors were encountered:
@mobrien-ghost isn't this something you can configure? Have a look here: https://github.com/lukasoppermann/design-tokens?tab=readme-ov-file#name-conversion
Sorry, something went wrong.
No branches or pull requests
Context:
We have variables for spacing and colors etc where the last component/portion of the variable name is camelCased.
For example
spacing/extraExtraSmall
spacing/extraSmall
colour/alert/mentalHealth
Issue:
when exported, the keys are all lower cased:
Expected:
was expecting them to be:
The text was updated successfully, but these errors were encountered: