Administration: Update color contrast on UI elements.

The color palette changes in #49999 introduced some contrast issues on buttons, input elements, and links. This change ensures that all interactive elements have an appropriate contrast ratio.

Follow-up to [50025].
Props audrasjb, joedolson.
Fixes #52402.



git-svn-id: https://develop.svn.wordpress.org/trunk@50278 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Kelly Choyce-Dwan
2021-02-09 19:45:47 +00:00
parent c35f0ede24
commit a25e5988dd
6 changed files with 26 additions and 27 deletions
+5 -5
View File
@@ -238,8 +238,8 @@ TABLE OF CONTENTS:
---------------------------------------------------------------------------- */
.wp-core-ui .button-primary {
background: #3582c4;
border-color: #3582c4;
background: #2271b1;
border-color: #2271b1;
color: #fff;
text-decoration: none;
text-shadow: none;
@@ -249,8 +249,8 @@ TABLE OF CONTENTS:
.wp-core-ui .button-primary:hover,
.wp-core-ui .button-primary.focus,
.wp-core-ui .button-primary:focus {
background: #2271b1;
border-color: #2271b1;
background: #135e96;
border-color: #135e96;
color: #fff;
}
@@ -258,7 +258,7 @@ TABLE OF CONTENTS:
.wp-core-ui .button-primary:focus {
box-shadow:
0 0 0 1px #fff,
0 0 0 3px #3582c4;
0 0 0 3px #2271b1;
}
.wp-core-ui .button-primary.active,