diff --git a/packages/block-editor/src/components/block-list/style.scss b/packages/block-editor/src/components/block-list/style.scss index 37c3643abfae6c..2223ee91c75a52 100644 --- a/packages/block-editor/src/components/block-list/style.scss +++ b/packages/block-editor/src/components/block-list/style.scss @@ -61,7 +61,7 @@ right: $border-width; // Everything else. - box-shadow: 0 0 0 $border-width $gray-900; + box-shadow: 0 0 0 $border-width var(--wp-admin-theme-color); border-radius: $radius-block-ui - $border-width; // Border is outset, so subtract the width to achieve correct radius. // Windows High Contrast mode will show this outline. @@ -85,6 +85,7 @@ box-shadow: 0 0 0 1px $gray-600; } + .is-navigate-mode & .block-editor-block-list__block.is-selected::after, & .is-block-moving-mode.block-editor-block-list__block.has-child-selected { box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); outline: var(--wp-admin-border-width-focus) solid transparent;