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

Can't import DSP file #191

Closed MauScheff closed 6 months ago

MauScheff commented 11 months ago

The instruction here: https://m3.material.io/foundations/design-tokens/how-to-use-tokens

Import Tokens / Step 2 says Open the theme dropdown and select Import DSP

There is no such option, when I try to import a DSP file, the Figma console gives this error: 433:9676 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'light') at module$contents$google3$ux$material$theme_builder$presentation$components$theme$2dselector_isValidTheme (:9676:272) at :9647:110

MauScheff commented 11 months ago

@jwill I think I've met you before (at Google I/O many years ago). I see that import / export to DSP hasn't been implemented yet in the Figma Plugin. Do you know if this is in the roadmap? I may be able to contribute here...