Skip to content
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

Button styles #2778

Merged
merged 1 commit into from
Jul 16, 2019
Merged

Button styles #2778

merged 1 commit into from
Jul 16, 2019

Conversation

rossmoody
Copy link
Contributor

Force push mistake, did a reflog. Original PR: #2669

Fixes: brave/brave-browser#3633
Fixes: brave/brave-browser#4852

Before

Screen Shot 2019-06-11 at 11 28 49 PM

Screen Shot 2019-06-11 at 11 28 31 PM

After

example2
example

Test Plan:

  1. Go to settings
  2. Ensure the buttons in setting match button spec
  3. Open the print dialog with File -> Print
  4. Ensure the buttons are styled to spec.

The buttons effected by these style updates live in

  • Settings panels (not Brave Rewards)
  • Print modal window
  • Dialogs within settings

@rossmoody rossmoody requested a review from petemill June 25, 2019 01:17
@rossmoody rossmoody self-assigned this Jun 25, 2019
@rossmoody rossmoody changed the title button styles Button styles Jun 25, 2019
@rossmoody rossmoody marked this pull request as ready for review June 25, 2019 01:32
@rossmoody rossmoody added this to the 0.69.x - Nightly milestone Jun 25, 2019
@rossmoody rossmoody force-pushed the paper-styles branch 2 times, most recently from 4a804fa to fc6a3b4 Compare July 2, 2019 19:12
@rossmoody rossmoody requested a review from bsclifton July 15, 2019 16:03
@rossmoody
Copy link
Contributor Author

Think all the comments on the original PR are addressed for this one. Sorry for the mixup on PRs. Gonna rebase now.

fixes

paper styles
Copy link
Member

@bsclifton bsclifton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works beautifully! 😄

I did notice this didn't work on the Web Torrent page- but that might be a separate issue (if we don't already have an issue, can you create one @rossmoody?)
Screen Shot 2019-07-16 at 11 20 32 AM

STR:

  1. grab this branch
  2. visit magnet:?xt=urn:btih:dd8255ecdc7ca55fb0bbf81323d87062db1f6d1c&dn=Big+Buck+Bunny&tr=udp%3A%2F%2Fexplodie.org%3A6969&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Ftracker.empire-js.us%3A1337&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=wss%3A%2F%2Ftracker.btorrent.xyz&tr=wss%3A%2F%2Ftracker.fastcast.nz&tr=wss%3A%2F%2Ftracker.openwebtorrent.com&ws=https%3A%2F%2Fwebtorrent.io%2Ftorrents%2F&xs=https%3A%2F%2Fwebtorrent.io%2Ftorrents%2Fbig-buck-bunny.torrent
  3. Check styles on buttons

@rossmoody rossmoody merged commit 7ad95f9 into master Jul 16, 2019
@rossmoody rossmoody deleted the paper-styles branch July 16, 2019 18:26
@rossmoody
Copy link
Contributor Author

I think I actually have some insight there. Those buttons in webtorrent are tied to Brave UI. I'll post a followup issue for Brave UI button focus state specifically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update paper buttons to spec Focus ring on buttons looks odd
2 participants