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
417 stars 30 forks source link

"Swap color variables" documentation #337

Closed duncanhoge closed 3 months ago

duncanhoge commented 3 months ago

It is unclear from the Readme how to actually swap variables applied to the UI kit from the default purple theme when a new theme has been generated. I would expect the ability to update the UI Kit with the theme that was generated, but it doesn't seem possible when using the UI kit.

margeeta commented 3 months ago

Thanks for the question! Swapping themes with libraries (UI Kits) has to be done manually as we aren't able to access the library variables or styles. Be careful when theming the UI Kits, as they can override local changes when updated.