Replies: 1 comment 2 replies
-
Hey! Thanks for sharing this 👍 You can make the examples you've shared here with the existing gradient utilities, out of the box: <div class="bg-gradient-to-r from-teal-200 to-teal-300"></div> <div class="bg-gradient-to-r from-teal-300 via-rose-300 to-orange-300"></div> Your implementation is definitely a good idea for a plugin, particularly if you want to build more complex gradients, but, I am not sure this should live in core. I might be missing a point, so.. do you have a strong argument for why it should make its way to core? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With a config like…
The following plugin will add
.bg-gradient-${name}
classes.This seems like a sensible addition to include in core?
A breaking way to do this could be:
…or to be non-breaking, you could test the value for an array?
If either approach sounds agreeable, I'm happy to PR.
Beta Was this translation helpful? Give feedback.
All reactions