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

Nested color path not working linearGradient theme #286

Closed
Wilson-Lim opened this issue May 8, 2023 · 4 comments
Closed

Nested color path not working linearGradient theme #286

Wilson-Lim opened this issue May 8, 2023 · 4 comments

Comments

@Wilson-Lim
Copy link

Screenshot 2023-05-08 at 4 52 36 PM

  1. i wonder did i set wrongly , i have been using dripsy since v2, the gradient type is always not detected.
  2. nested color path is not working inside theme.linearGradients.
@nandorojo
Copy link
Owner

i think the first issue is a duplicate of #285

@nandorojo
Copy link
Owner

Hey @Wilson-Lim, can you try 4.3.1 and see if that fixes it?

@Wilson-Lim
Copy link
Author

Wilson-Lim commented May 22, 2023

i tested, if using colors props, its working, but gradient props which rely on the dripsy's linearGradients theme value is not working
image

with above setting,

  1. surface not working
  2. ball is working

and
image

the gradient props's type does not seems to work correctly yet.

this is using v4.3.3
Screenshot 2023-05-22 at 6 10 16 PM

@Wilson-Lim
Copy link
Author

Sorry, i have a typo on my dripsy theme

it should be
surface: ['$primary.300', '$primary.500'],

not
surface: ['$primary.300', '#$primary.500'],

So its working now.

Thanks alot Fernando

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