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
363 stars 28 forks source link

Downloaded XMLs after color changes are not updated until webpage refresh #79

Closed tomermandelfw closed 1 year ago

tomermandelfw commented 1 year ago

Describe the bug When exporting a theme after a previous download and color change, the downloaded XMLs are identical to the previous download. Webpage refresh fixes this issue.

To Reproduce

  1. In Chrome browser - go to 'The Material Theme Builder' (Custom tab)
  2. Click on 'Export' -> 'Android Views (XML)'
  3. Change the colors.
  4. Click on 'Export' -> 'Android Views (XML)'
  5. The downloaded colors.xml is identical to the previous download before the color change (refreshing the page fixes this issue).

Expected behavior The downloaded XMLs should be set to the new chosen colors.

jwill commented 1 year ago

Has been fixed in the most recent build