material-theme-builder
material-theme-builder copied to clipboard
Changing fonts breaks Android Schemes generation
Describe the bug Once two or three text styles have their fonts changed, the plugin will no longer be able to generate Android Schemes, and will crash when attempting to do so.
To Reproduce Steps to reproduce the behavior:
- Change the font of two or three text styles. In this case, I used Display/Large, Medium, Small, and changed their font to Manrope.
- Attempt to generate Android Schemes from the context menu of Figma.
- The plugin will launch but crash almost instantly.
The error shown is as follows:
Expected behavior Android Schemes should ideally, update automatically, as per #13 . However, in this instance, the plugin should at least generate Android Schemes and update those color styles regardless of the font chosen.
Desktop (please complete the following information):
- OS: [e.g. iOS] Windows 11
- Browser [e.g. chrome, safari] Chrome
- Version [e.g. 22] Version 97.0.4692.99 (Official Build) (64-bit)
Yep this is a Figma issue I have been working on.
I am making sure to load the font but it still fails randomly.
Im working on improving the typography support