MetaMask / design-tokens

Design tokens to be used throughout MetaMask products
https://metamask.github.io/design-tokens/?path=/docs/getting-started-introduction--docs
26 stars 15 forks source link

Automate CSS Color Variable Generation from Figma JSON with Style Dictionary #662

Open georgewrmarshall opened 4 months ago

georgewrmarshall commented 4 months ago

Description

To enhance the efficiency and consistency of our design system implementation, we propose the automation of CSS variable generation using Style Dictionary, directly from our design tokens defined in Figma JSON. This initiative aims to streamline the process of updating and maintaining our design tokens, ensuring that changes in Figma are automatically reflected in our codebase as CSS variables. By automating this workflow, we can reduce manual errors, save development time, and ensure a seamless alignment between our design and development environments.

Technical Details

Acceptance Criteria

Additional Notes

This automation represents a significant step towards bridging the gap between our design and development processes. By leveraging Style Dictionary and the power of automation, we can ensure that our design system remains dynamic, scalable, and tightly integrated with our development efforts.