Open milesingrams opened 11 months ago
Hey @milesingrams, Thanks for reporting this issue. we will have a look. mean while can you please confirm if it is just typing that is not coming or tokens are not getting resolved as well.
The tokens still work as far as I can tell. I think the declare module '@gluestack-ui/themed'
part isn't overriding the base types
So after looking into it more looks like overriding using declare module '@gluestack-style/react'
works. Maybe the ejected config should use that instead of declare module '@gluestack-ui/themed'
I am still seeing a type issue with the ':transition' property which I believe might be unrelated but should be fixed:
Looks like it expects opacity to be number type but in the context of the :transition
property it has a different structure
Same with duration
on the :transition
prop
Hey @milesingrams, Thanks for reporting this issue. We will have a look.
Was any progress made on this?
Description
When changing theme tokens types stay with original theme
CodeSandbox/Snack link
No response
Steps to reproduce
Pass the config to GluestackUIProvider
Types will throw errors when you try to use new tokens in components. Seems to only recognize old tokens
gluestack-ui Version
1.0.6
Platform
Other Platform
No response
Additional Information
No response