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

Swap button does not swap all the tokens

Open pbutterworth opened this issue 3 years ago • 0 comments

Describe the bug When using the 'Swap' button to change themes, not all of the tokens are swapped.

To Reproduce

  1. Select some UI components that use a range of the colour tokens (the card example from Material 3 Design Kit for instance)
  2. Note that the initial theme is 'M3'. In the selection colors panel, all the colour styles are 'M3/...'
  3. Select a different theme in the plugin, and click 'Swap'
  4. Note in the selection colors panel, there is now a mixture of M3/... and [CustomTheme]/...

Expected behavior All the colour tokens should be swapped over to the selected theme

Screenshots image image

Desktop (please complete the following information): Figma Desktop App version 112.2 macOS 12.1 plugin version 9

pbutterworth avatar Apr 20 '22 21:04 pbutterworth