material-theme-builder icon indicating copy to clipboard operation
material-theme-builder copied to clipboard

Reopening the plugin clobbers customised Secondary and Tertiary colours

Open pbutterworth opened this issue 3 years ago • 3 comments

Describe the bug After creating a new theme, and customising the Secondary and Tertiary colours, reopening the pluging and switching to the Custom tab causes the secondary and tertiary colours to be clobbered back to the automatically generated colours.

To Reproduce Steps to reproduce the behavior:

  1. Create a new theme
  2. Open the Custom tab
  3. Change the Secondary and Tertiary colours to something other than the default generated colours
  4. Close the plugin
  5. Reopen the plugin
  6. Switch to the Custom tab. At this moment, observed that the Secondary and Tertiary colours revert the the original default generated colours.

Expected behavior The plugin should remember the customisations

Screenshots First time customising the theme: image

After reopening the plugin (but before switching to the custom tab: image

After clicking on the Custom tab. Note that the customised colours have reverted: image

Desktop (please complete the following information):

  • OS: macOS 12.1
  • Figma desktop 114.3
  • plugin version 9

pbutterworth avatar Apr 29 '22 03:04 pbutterworth

Discovered a workaround: If you have more than one theme in the current file, after opening the plugin, choose a different theme (any one) from the drop-down, then pick the first theme again from the drop-down. This then opens the custom tab with the correct colours populated.

pbutterworth avatar May 02 '22 01:05 pbutterworth

rent file, after opening the plugin, choose a different theme (any one) from the drop-down, then pick the first theme again from the drop-down. This then opens th

I had the same problem today, wish has a solution for this.

xingyanbin avatar May 11 '22 06:05 xingyanbin

I have the same issue and without a workaround, I can't use this for our design system.

butlerjason avatar Sep 08 '22 13:09 butlerjason