-
Notifications
You must be signed in to change notification settings - Fork 905
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
Brave Actions sized at 18px and highlighted correctly #1249
Conversation
@petemill @rossmoody could the badge not overlap on shields icon but instead make at the edge? The badge on BAT logo doesn't overlap(at least with single digit) instead is just at the border radius. Could the shields also a similar implementation? |
1e38265
to
7a14e75
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did a build with brave/brave-extension#89 checked out and confirmed it's working. lgtm
@srirambv an overlap is pretty standard for notification elements on icons. the shape of the rewards icon just makes it very difficult without appearing completely off balance |
@petemill looks good to me. one note, and i'm unsure if it should be tackled in this pr, but we are removing the |
@srirambv the rewards badge does overlap, but the icon is a triangle so it doesn't look like it does. Please see the mockup at brave/brave-browser#2295 for the coordinates we're aiming for |
7a14e75
to
d0b70ad
Compare
browser/ui/brave_actions/brave_action_icon_with_badge_image_source.cc
Outdated
Show resolved
Hide resolved
7d5cd18
to
d327d93
Compare
d327d93
to
286660e
Compare
286660e
to
d9d2fc5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look great! 😄 Test in both light and dark mode. Compared several sites with what's on Beta at the moment. Even though it's only a little larger it looks amazing. Really nice job on this one 😄 (code changes look good too!)
Manually ran tests (after noticing check above failed). Everything looks good 👍 |
Brave Actions sized at 18px and highlighted correctly
Brave Actions sized at 18px and highlighted correctly
Updates brave-extension dep - here's what's in that update: brave/brave-extension@038a43a...70550a1
Fix brave/brave-browser#2295
Fix brave/brave-browser#2807
Submitter Checklist:
npm test brave_unit_tests && npm test brave_browser_tests
) ongit rebase master
(if needed).git rebase -i
to squash commits (if needed).Test Plan:
See brave/brave-browser#2295
Reviewer Checklist: