Skip to content

Commit 77b3448

Browse files
committed
Admin: Update button color to align with the design system.
Updates the disabled state colors for the primary and secondary buttons to align with the WordPress Design System. Props hbhalodia, huzaifaalmesbah, Joen, mciampini, ozgursar, wildworks. Fixes #64797. Built from https://develop.svn.wordpress.org/trunk@61840 git-svn-id: http://core.svn.wordpress.org/trunk@61127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1 parent c4d3fe1 commit 77b3448

5 files changed

Lines changed: 13 additions & 13 deletions

File tree

wp-includes/css/buttons-rtl.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ TABLE OF CONTENTS:
209209
.wp-core-ui .button-secondary:disabled,
210210
.wp-core-ui .button-secondary.disabled,
211211
.wp-core-ui .button-disabled {
212-
color: #949494 !important;
213-
border-color: #dddddd !important;
212+
color: #8a8a8a !important;
213+
border-color: #d8d8d8 !important;
214214
background: transparent !important;
215215
box-shadow: none !important;
216216
cursor: default;
@@ -313,9 +313,9 @@ TABLE OF CONTENTS:
313313
.wp-core-ui .button-primary:disabled,
314314
.wp-core-ui .button-primary-disabled,
315315
.wp-core-ui .button-primary.disabled {
316-
color: #949494 !important;
317-
background: #f0f0f0 !important;
318-
border-color: #f0f0f0 !important;
316+
color: #8a8a8a !important;
317+
background: #e2e2e2 !important;
318+
border-color: #e2e2e2 !important;
319319
box-shadow: none !important;
320320
text-shadow: none !important;
321321
cursor: default;

wp-includes/css/buttons-rtl.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wp-includes/css/buttons.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,8 @@ TABLE OF CONTENTS:
208208
.wp-core-ui .button-secondary:disabled,
209209
.wp-core-ui .button-secondary.disabled,
210210
.wp-core-ui .button-disabled {
211-
color: #949494 !important;
212-
border-color: #dddddd !important;
211+
color: #8a8a8a !important;
212+
border-color: #d8d8d8 !important;
213213
background: transparent !important;
214214
box-shadow: none !important;
215215
cursor: default;
@@ -312,9 +312,9 @@ TABLE OF CONTENTS:
312312
.wp-core-ui .button-primary:disabled,
313313
.wp-core-ui .button-primary-disabled,
314314
.wp-core-ui .button-primary.disabled {
315-
color: #949494 !important;
316-
background: #f0f0f0 !important;
317-
border-color: #f0f0f0 !important;
315+
color: #8a8a8a !important;
316+
background: #e2e2e2 !important;
317+
border-color: #e2e2e2 !important;
318318
box-shadow: none !important;
319319
text-shadow: none !important;
320320
cursor: default;

0 commit comments

Comments
 (0)