Skip to content

How to globally change the border-radius? #2491

Closed Answered by saadeghi
marrobHD asked this question in Q&A
Discussion options

You must be logged in to vote

There are CSS variables: https://daisyui.com/docs/themes/#-5

"--border-btn": "1px", // border width of buttons
"--tab-border": "1px", // border width of tabs
"--tab-radius": "0.5rem", // border radius of tabs

You can set them in a daisyUI theme
or you can use them directly in CSS
or you can use the in utility class like [--border-btn:2rem]

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lefpap
Comment options

Answer selected by saadeghi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants