Skip to content
New issue

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

Multi-layer dynamicly themeable color system #685

Open
2 tasks
petemill opened this issue May 23, 2024 · 1 comment
Open
2 tasks

Multi-layer dynamicly themeable color system #685

petemill opened this issue May 23, 2024 · 1 comment

Comments

@petemill
Copy link
Member

Right now our themeable colors are based on a static palette. In figma, we're changing them to be based on a dynamic (material-based) base palette. This means that the base palette will be able to be switched out, inside our products.

To achieve this, our exporter (and our CSS, etc. code output) should know about the alias from the themeable color names to the base theme color names so that they can replace the base theme color values.

TODO

  • Figma exporter should include aliases
  • CSS generation should include variables for all aliases (all the way down)
@petemill
Copy link
Member Author

petemill commented May 23, 2024

This plugin is an example of something that exports JSON which maintains the aliases https://www.figma.com/community/plugin/1253571037276959291/variables2json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant