Token names exported in camelcase #147
-
We are experimenting with Figmagic in our project to export tokens created in our Figma files. The names in the figma files are using kebab case (ex. As you can see, the case has changed and the Is there a way to export the names in their original case? I scoured through the documentation but have not found a way around this. Am I missing a setting or is this not possible? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi! Correct, this is the intended behavior. We could turn this into an issue and I can see when I have time (or if someone else picks it up) to fix support, for non-recased names (which may or may not be easy to fix, because of various instances where matching happens). When it comes to the dollar sign, I am curious if that is "correct" when it comes to JS/TS/JSON...? Would it work (in your case) without the dollar sign? (since that would imply we have to potentially support any character, which doesn't seem ideal) |
Beta Was this translation helpful? Give feedback.
Hi! Correct, this is the intended behavior. We could turn this into an issue and I can see when I have time (or if someone else picks it up) to fix support, for non-recased names (which may or may not be easy to fix, because of various instances where matching happens).
When it comes to the dollar sign, I am curious if that is "correct" when it comes to JS/TS/JSON...? Would it work (in your case) without the dollar sign? (since that would imply we have to potentially support any character, which doesn't seem ideal)