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

useToken not resolving token values set in themes #1465

Closed
TomSwift opened this issue Nov 1, 2023 · 3 comments
Closed

useToken not resolving token values set in themes #1465

TomSwift opened this issue Nov 1, 2023 · 3 comments
Assignees
Labels
gluestack-style Issue related to gluestack-style

Comments

@TomSwift
Copy link

TomSwift commented Nov 1, 2023

useToken is resolving a given token value to the "default" value in the configuration and doesn't appear to be resolving any overridden value set in an active theme.

If this is expected behavior, is there a mechanism for me to resolve tokens values taking into account an active theme? Even if it's a workaround for now that'd be great to understand.

@ankit-tailor
Copy link
Contributor

Hey @TomSwift, Thanks for reporting the issue. We'll look into it.

@rayan1810
Copy link
Contributor

Hey @TomSwift, we have started working on this will share updates as soon as the fix is released.

@ankit-tailor ankit-tailor transferred this issue from gluestack/gluestack-style Dec 11, 2023
@ankit-tailor ankit-tailor added the gluestack-style Issue related to gluestack-style label Dec 11, 2023
@ankit-tailor
Copy link
Contributor

Hey @TomSwift, Please upgrade the @gluestack-style/react to latest version. We have added the feature.

@github-project-automation github-project-automation bot moved this from In Progress to Done in gluestack support Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gluestack-style Issue related to gluestack-style
Projects
No open projects
Status: Done
Development

No branches or pull requests

3 participants