New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Square buttons are not square #2993
Comments
Thank you @Rattone
for reporting issues. It helps daisyUI a lot 💚
|
If I am not wrong, it is related to the theme that you selected on the website. In some themes, border radius are different, I confirm that it's a bit unsettling at first. |
Related: Wouldn't it feel weird when all elements of a theme have huge border radius and one button has sharp edges? |
@saadeghi maybe in this case, perhaps it would be necessary to add more advanced configuration options to allow for more customization? For example, instead of being able to change only Maybe you could also consider adding border configurations in the theme generator here?: Theme Generator |
@saadeghi thanks for the reply, I'm not familiar with the library and I didn't realize this theme thing :-) |
Yes. It's a common design pattern to use rounded corners occasionally but it's not a common pattern to use a sharp edge square when everything else is circle. daisyUI class names are opinionated based on common design patterns but at the end you are free to overwrite everything using utility classes. You can use Tailwind CSS |
On which page do you see this issue?
https://daisyui.com/components/button/#square-button
Describe the issue
Is that normal?
What browsers are you seeing the problem on?
Chrome
The text was updated successfully, but these errors were encountered: