-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Update Preview, Save and Switch to Draft button labels blue #24420
Conversation
…uttons are blue again.
Thank you for the PR! This is a very basic PR that removes 7 lines of code. That makes it very safe, very predictable, and it improves things. It also does not preclude further explorations. 👍 👍 from me. |
Ship it. |
Size Change: -34 B (0%) Total Size: 1.15 MB
ℹ️ View Unchanged
|
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.
I'm the one who created #21192, which changed the "Save draft" button to look the way it does in master
right now. Sorry for that, though to be fair, the "Preview" button was already using that style, albeit with a redundant chevron next to it.
I'm definitely approving this PR. It removes more special-case CSS, it makes the buttons more obvious, and it improves upon the consistency that I had wanted to achieve with my PR.
In the future I'd suggest trying to find a way to avoid coloring any buttons blue by default, simply because it feels weird to have the text buttons colored blue by default, but the icon buttons colored black. Maybe just add a black outline to the text buttons? But for now, this PR is a definite improvement over master
.
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.
LGTM! 🚢
…uttons are blue again. (#24420)
Fixes #23890.
This PR aims to help resolve some issues around the Switch to Draft, Save, and Preview buttons in the editor's top toolbar, which were updated in #21192. In #23890 there are some concerns that these buttons now look like plain text. One suggestion brought up by the accessibility team was to switch the color to blue, and that's what this PR does.
Here's how they look in
master
today:And here's how they look in this PR: