material-foundation / material-theme-builder

Visualize dynamic color and create a custom Material Theme.
https://material-foundation.github.io/material-theme-builder/
Apache License 2.0
362 stars 28 forks source link

Theme not detected for components from Material 3 Design Kit #126

Closed AnneKok closed 1 year ago

AnneKok commented 1 year ago

Components from the Material 3 Design Kit for Figma (https://www.figma.com/community/file/1035203688168086460) use a different hierarchy of color styles than those created by the Material Theme Builder. Apparently because of this, when I open Material Theme Builder and select a component from the Design Kit, no theme is detected and I cannot Swap the theme.

The differences I found and what I did to make sure the Theme Builder correctly detects the theme:

Note that I'm not sure if every single one of these steps is necessary to get the Material Theme Builder working with the Material 3 Design Kit components; I did all of it and then tried again and it worked.

There is one more difference between the styles that doesn't seem to affect the working of Theme Builder:

This issue means you can't use the Material Theme Builder plugin to swap the themes on the components from the Material 3 Design Kit. This is a crucial workflow and it's very strange that this was apparently not tested / is not supported.

margeeta commented 1 year ago

Hello, expect an update from Design Kit soon.

margeeta commented 1 year ago

Design kit update expected this week.