Skip to content

Commit

Permalink
Fix color of disabled buttons in dark toolbar (WordPress#67348)
Browse files Browse the repository at this point in the history
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: jasmussen <[email protected]>
  • Loading branch information
3 people authored and im3dabasia committed Dec 4, 2024
1 parent 26a839a commit 52e0d88
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/block-editor/src/components/block-tools/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,11 @@
&:focus::before {
box-shadow: inset 0 0 0 1px $gray-900, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
}

&:disabled,
&[aria-disabled="true"] {
color: $gray-700;
}
}

.block-editor-block-parent-selector .block-editor-block-parent-selector__button {
Expand Down

0 comments on commit 52e0d88

Please sign in to comment.