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

Chrome won't download the Flutter export. #192

Closed MauScheff closed 5 months ago

MauScheff commented 11 months ago

Describe the bug When I click export on Google Chrome Version 114.0.5735.198 (Official Build) (x86_64) there's a message in the download bar that says "material-theme.zip is dangerous, so Chrome blocked it (Discard)".

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

solshuffle commented 11 months ago

Having the same issue, it is not possible to download the Flutter theme from https://m3.material.io/theme-builder#/custom

image
dzziwny commented 6 months ago

exporting Flutter throws error in console

image

maichongju commented 6 months ago

Same problem. Please fix

wfahnestock commented 5 months ago

Hi all, it seems exports are working on Chrome 120.0.6099.130. See if you have any updates for Chrome before attempting to export.

Unfortunately, exports are broken on the latest Firefox, Version 121.0. They fail with error:

Uncaught (in promise) TypeError: module$exports$google3$third_party$javascript$typings$jszip$index is not a constructor
    download https://m3.material.io/_mtb/app.js?version=1670027719620561:13291
app.js:13291:794
jwill commented 5 months ago

This was due to browser settings that would sometimes flag or interfere with the download library we were using.

Downloads are more consistent with our new version, please access it here instead: https://material-foundation.github.io/material-theme-builder/

MauScheff commented 4 months ago

Thanks! @jwill