Update Preview, Save and Switch to Draft button labels blue#24420
Update Preview, Save and Switch to Draft button labels blue#24420draganescu merged 1 commit intomasterfrom
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
|
ZebulanStanphill
left a comment
There was a problem hiding this comment.
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.
…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
mastertoday:And here's how they look in this PR: