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

Font styles being overwritten #134

Closed andrewhainen-slalom closed 1 year ago

andrewhainen-slalom commented 1 year ago

Anytime I change the theme, all my font styles are being overwritten back to Roboto, regardless if I have "Generate Text Styles" checked or not

andrewhainen-slalom commented 1 year ago

Furthermore, "Generate Text Styles" refuses to stay checked at all when I leave the Settings menu.

andrewhainen-slalom commented 1 year ago

No matter what I try, the Material Theme Builder replaces all of my fonts everytime it runs. This isn't usable

margeeta commented 1 year ago

Thank you for the bug. Could you include steps to reproduce the issue or a video of the issue for fonts being overwritten?

For settings: this is a current bug we are trying to fix.

andrewhainen-slalom commented 1 year ago

https://user-images.githubusercontent.com/84816050/225394723-6d4e469a-e920-4361-94d3-807d17cf33bc.mp4

margeeta commented 1 year ago

Thank you for the video! This is happening in our testing, but we'll look into this as soon as we can. The setting shouldn't affect fonts being overwritten.

margeeta commented 1 year ago

Ok, the latest update should work! You will want to make sure that "Generate Text Styles" is off, the setting state will now persist and should keep the text styles from being overwritten.