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
397 stars 27 forks source link

Cannot export styles on Material Theme Builder (Custom) page #174

Closed robert-lara closed 8 months ago

robert-lara commented 1 year ago

Describe the bug When I fill everything out and attempt to export the styles, nothing happens. I do get this error in the console though:

app.js?version=1670027719620561:13291 Uncaught (in promise) TypeError: module$exports$google3$third_party$javascript$typings$jszip$index is not a constructor
    at module$exports$google3$ux$material$theme_builder$core$exporters$web$WebExporter.download (app.js?version=1670027719620561:13291:794)

To Reproduce Steps to reproduce the behavior:

  1. Go to 'https://m3.material.io/theme-builder#/custom'
  2. Select the color picker for Primary and enter the following value for the color's hex value '#004225', then click 'Close'
  3. Select the color picker for Secondary and enter the following value for the color's hex value '#FFEF00', then click 'Close'
  4. Select the color picker for Tertiary and enter the following value for the color's hex value '#7BAA20', then click 'Close'
  5. In the top right corner click 'Export' and select 'Web (CSS)'

nothing will happen, but when I open the chrome developer tools I do get the exception listed above

Expected behavior For the theme to be exported

Screenshots image

Desktop (please complete the following information):

Additional context None

chrisjenx commented 1 year ago

Yeesh 2 months no fix :(

stevenbenitez commented 1 year ago

Still broken. :(

jonvillalobos commented 10 months ago

cant download either

adsonafonso commented 8 months ago

still broken for me also :(

jwill commented 8 months ago

Unfortunately downloads being blocked is a known issue that happens unexpectedly for some in that version of Material Theme Builder.

The good news is that it's not an issue in the version that's under active development: https://material-foundation.github.io/material-theme-builder/