Skip to content

Commit

Permalink
Connected blocks, add backdrop-color. (#65233)
Browse files Browse the repository at this point in the history
Co-authored-by: jasmussen <joen@git.wordpress.org>
Co-authored-by: gziolo <gziolo@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: mtias <matveb@git.wordpress.org>
Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
Co-authored-by: SantosGuillamot <santosguillamot@git.wordpress.org>
  • Loading branch information
7 people authored Sep 24, 2024
1 parent 842f67d commit 0844af0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/block-editor/src/components/block-toolbar/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@
border-right: $border-width solid $gray-300;
}

&.is-connected {
.block-editor-block-switcher .components-button::before {
background: color-mix(in srgb, var(--wp-block-synced-color) 10%, transparent);
border-radius: $radius-small;
}
}

&.is-synced,
&.is-connected {
.block-editor-block-switcher .components-button .block-editor-block-icon {
Expand Down

0 comments on commit 0844af0

Please sign in to comment.