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

token mismatch | bug #91

Closed
seeden opened this issue Jun 6, 2022 · 1 comment
Closed

token mismatch | bug #91

seeden opened this issue Jun 6, 2022 · 1 comment

Comments

@seeden
Copy link
Contributor

seeden commented Jun 6, 2022

I will get the wrong size/space when creating two different size/space tokens with similar names.

{
  '3.5': 14, 
  '3/5': '60%',
}

When I try to use token 3.5, it will use value 60% instead of 14.

<Space py="$3.5">

There is probably a problem with regex, which is ignoring some characters or something like this.

  • OS: mac
  • Browser safari
  • Version beta.54
@natew
Copy link
Member

natew commented Jun 26, 2022

Fixed in 2cd10ac

@natew natew closed this as completed Jun 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants