Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent behavior when using theme groups vs when not using theme groups #3190

Open
UdayHyma opened this issue Oct 24, 2024 · 1 comment

Comments

@UdayHyma
Copy link
Collaborator

UdayHyma commented Oct 24, 2024

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.

IMPORTANT - USE-CASE:

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.

To Reproduce
Steps to reproduce the behavior:

  1. Create two themes:
  2. Theme A: Primary color = blue
  3. 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
Copy link
Collaborator

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.

@SamIam4Hyma SamIam4Hyma self-assigned this Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📥 Triage
Development

No branches or pull requests

3 participants