Tailwind CSS v4: How to set default boxShadowColor like in v3? #17685
-
How can I set a default extend: {
boxShadowColor: {
DEFAULT: '#ef4444',
},
} I've tried setting What's the correct approach in v4? Tailwind v3: https://play.tailwindcss.com/ozEo3jUj2F |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I don't think there is an individual variable to only affect the color of built-in shadows: tailwindcss/packages/tailwindcss/theme.css Lines 358 to 384 in adcf1de So you'd have to copy-paste these into your own |
Beta Was this translation helpful? Give feedback.
-
Thanks @wongjn, this is exactly what I was looking for :) |
Beta Was this translation helpful? Give feedback.
I don't think there is an individual variable to only affect the color of built-in shadows:
tailwindcss/packages/tailwindcss/theme.css
Lines 358 to 384 in adcf1de