Skip to content

Commit

Permalink
Make block icon same color as other toolbar items
Browse files Browse the repository at this point in the history
  • Loading branch information
jeryj committed Aug 27, 2024
1 parent 872b8af commit 5939e0e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@
}

// Even when the block switcher does not have any transformations, it still serves as a block indicator.
.components-button.block-editor-block-switcher__no-switcher-icon:disabled {
.components-button.block-editor-block-switcher__no-switcher-icon[aria-disabled="true"] {
opacity: 1;
color: $gray-900;

// Since it's not clickable, though, don't show a hover state.
&,
.block-editor-block-icon.has-colors {
&:hover {
color: $gray-900;
}
}
Expand Down

0 comments on commit 5939e0e

Please sign in to comment.