Inconsistent behavior when using theme groups vs when not using theme groups
Opened this issue · 1 comments
UdayHyma commented
Describe the bug
When exporting tokens to variables, the background color for Theme B incorrectly displays the primary color from Theme A if theme groups are not used. This inconsistency happens when switching between themes without theme groups applied.
To Reproduce
Steps to reproduce the behavior:
- Create two themes:
- Theme A: Primary color = blue
- Theme B: Primary color = orange
4.Apply the background color using the "color.primary" token for both themes.
5.Export tokens to Figma variables.
6.Check the background color in Figma for both themes.
Expected behavior
Theme B should display its primary color (orange).
Actual behavior
Theme B shows the primary color of Theme A (blue).
Screenshots or Screen Recording
Screen.Recording.2024-10-25.at.14.19.02.mov
SamIam4Hyma commented
The OP for this manages 18 brands and can't use theme groups or they will be locked into only 4 brands.
The expected behaviour is the values in the tokens are consistent when exported to Figma variables if using theme groups or not.