Customizer: Bring admin color schemes back into the customizer.

In #50547, the admin color schemes were added to the customizer UI, but at some point specificity changed and the colors were overridden by the defaults. This brings the color schemes back into the customizer, using the button color as a highlight, with the link color for text to keep things readable.

Follow up to [48371].
Props audrasjb, peterwilsoncc.
Fixes #52230.


Built from https://develop.svn.wordpress.org/trunk@50386


git-svn-id: http://core.svn.wordpress.org/trunk@49997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryelle
2021-02-18 16:51:05 +00:00
parent 369c43ff2e
commit 6e895528e7
38 changed files with 1182 additions and 1254 deletions

View File

@@ -2817,14 +2817,15 @@ body.adding-widget .add-new-widget:before,
position: absolute;
top: 0;
left: 48px;
line-height: 3.2;
line-height: 2.6;
font-size: 14px;
padding: 0 12px;
padding: 0 12px 4px;
margin: 0;
height: 45px;
background: #f0f0f1;
border: 0;
border-right: 1px solid #dcdcde;
border-top: 4px solid #f0f0f1;
color: #50575e;
cursor: pointer;
transition: color .1s ease-in-out, background .1s ease-in-out;