-
Notifications
You must be signed in to change notification settings - Fork 26
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
[Buttons]: Squircle looks bad on our plain/plain-faint buttons with a background hover #669
Comments
Also, not sure if it's related but this button looks like it has too much padding to me: Here's the same button in Beta: cc @aguscruiz |
Those close buttons would be good candidates for the padding and hoverless buttons, I think. Those variants that are icon ondly and don't have a background change. What do you think? As for the padding on that "Join cube" button, yeah, I can see it. The padding on these normal buttons have been the subject of long debates until we reached this final version. But it may be time to adjust a bit |
That close button though, yeah I think we should use the "icon-only" variant to solve it. But that's just me |
@fallaciousreasoning, from what I'm seeing, everything described above is to spec, according to the Figma doc. I was going to say the same thing that @aguscruiz just said. All of the instances above where the hover background looks off seem like they ought to be icon-only buttons (or |
I think we need to be pretty careful about changing the buttons going forward - they're used in a lot of places, and it kinda defeats the point of having a design system if we need to go and audit all the places things are used when we update Nala. Like, I think my problem is that these were fine, we updated Nala, and now they look weird - it makes bumping Nala in brave-core pretty scary, because I don't know what I'm going to break |
I think another problem that this highlights is the need to deprecate |
One other thing I noticed is that the |
Yep. I noticed the same thing. I believe it'll be a simple fix of adding a default border of leo/src/components/button/button.svelte Line 145 in 7dc6a04
- border: solid var(--border-width, 0px) var(--border-color, transparent);
+ border: solid var(--border-width, 1px) var(--border-color, transparent); |
@AlanBreck in our recent updates to the button shapes, I don't think we should've tweaked the background shape of the plain/plain-faint buttons as it makes a bunch of our existing buttons look weird:
Hovering over the close button for Brave News:
These ones are fine, because they're filled:
Close button on the customize dialog:
The text was updated successfully, but these errors were encountered: