shadow-inner sizes
#12537
Replies: 3 comments 1 reply
-
Totally agree and it's on my todo list for a future version — would be nice to be able to set the color of them separately too I think 👌🏻 |
Beta Was this translation helpful? Give feedback.
1 reply
-
This would be very useful. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think this is nailed in 4.0: https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It looks like the
shadow-inner
class is an alternative forshadow-{size}
classes, which reduces control if someone wants to use shadow-inner in conjunction with shadow-{size} classes (for example,<div className="shadow-inner shadow-xl shadow-neutral-100">
). We should make the shadow-inner class an additive class for theshadow-{sizes}
classes, so that the regularshadow
class represents a standard-size outer/drop shadow,shadow-inner
represents a standard inner/inset shadow, and then theshadow-{sizes}
classes can be used to modify the size of either.Beta Was this translation helpful? Give feedback.
All reactions