Setting Default Border Width in Tailwind CSS v4 #16627
-
How to configure the default border width in Tailwind CSS v4? This is how it was configured in Tailwind CSS v3:
|
Beta Was this translation helpful? Give feedback.
Answered by
philipp-spiess
Feb 18, 2025
Replies: 2 comments 2 replies
-
You can do this: @theme {
--default-border-width: 3px;
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
hffxx
-
@philipp-spiess I'm trying now to override the default box-shadow color. Could you point me to documentation or tell me what's the variable name that controls the shadow color? Thanks! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can do this:
https://play.tailwindcss.com/jLZbGAtAAj