-
-
Notifications
You must be signed in to change notification settings - Fork 146
Open
Description
Context:
We have variables for spacing and colors etc where the last component/portion of the variable name is camelCased.
For example
spacing/extraExtraSmallspacing/extraSmallcolour/alert/mentalHealth- et
Issue:
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}"
}Expected:
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}"
}Metadata
Metadata
Assignees
Labels
No labels