material-theme-builder
material-theme-builder copied to clipboard
Swap button does not swap all the tokens
Describe the bug When using the 'Swap' button to change themes, not all of the tokens are swapped.
To Reproduce
- Select some UI components that use a range of the colour tokens (the card example from Material 3 Design Kit for instance)
- Note that the initial theme is 'M3'. In the selection colors panel, all the colour styles are 'M3/...'
- Select a different theme in the plugin, and click 'Swap'
- 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

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