Question about Source of Truth #296
Replies: 2 comments 5 replies
-
Hey @leandromuuvlabs, Personally I prefer to edit json files by hand and avoid any kind of tooling on this side of the creation process. Once a token system has been set up you normally only have small changes so manually adjusting values should be easy. NOTE that this is my personal opinion. It may not be right for everyone. |
Beta Was this translation helpful? Give feedback.
-
Moving this over: From: @MathisPct I see this paragraph bellow at the beginning of your README on the repo. [!WARNING] I personally have changed my opinion a long time ago to favor the source for truth for design tokens to be in a json file. Figma should be a consumer so you only import tokens into figma. This is why I don't use plugins like this one anymore in my work. I want to have your point of view on why you think it's better solution to have a JSON file storing your design tokens as the source of truth instead of Figma ? In my company we are facing the problem of synchronization design tokens in our Git repo with the Figma design file. I have considered using your plugin to let commit changes from the evolution of local variables. The problem is that we are supposed to commit from the Figma file and run differents CI/Pipelines processes to transform the plain JSON design tokens into various CSS based on the theme we provide in Figma local variables. What are your past experiences with this ? How do you handle these different processes by storing the raw tokens in one JSON file? Do you directly store the JSON design tokens in your repo? And how do you import them into Figma? Have you encountered any problems with the synchronization of tokens between the dev team and the design team? Thank you in advance for your time! Enjoy your day |
Beta Was this translation helpful? Give feedback.
-
Hi @lukasoppermann thanks a ton for building this! I am learning a lot about design systems and being able to use your tool was really great.
I have a question for you. In the readme you mention:
I wonder, why is that? what source of truth would you recommend? do you have any resources you can link me to that follow your approach?
Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions