diff --git a/packages/base-styles/_colors.scss b/packages/base-styles/_colors.scss index 2ce58b64e43b8c..b296a0f1f03063 100644 --- a/packages/base-styles/_colors.scss +++ b/packages/base-styles/_colors.scss @@ -17,7 +17,6 @@ $gray-100: #f0f0f0; // Used for light gray backgrounds. $white: #fff; // Opacities & additional colors. -$dark-theme-focus: $white; // Focus color when the theme is dark. $dark-gray-placeholder: rgba($gray-900, 0.62); $medium-gray-placeholder: rgba($gray-900, 0.55); $light-gray-placeholder: rgba($white, 0.65); diff --git a/packages/block-editor/src/components/block-list/content.scss b/packages/block-editor/src/components/block-list/content.scss index 17ebad06c4d78e..c8f24e7efcbd2f 100644 --- a/packages/block-editor/src/components/block-list/content.scss +++ b/packages/block-editor/src/components/block-list/content.scss @@ -89,11 +89,6 @@ _::-webkit-full-page-media, _:future, :root .has-multi-selection .block-editor-b &::after { @include selected-block-focus(); z-index: 1; - - // Show a light color for dark themes. - .is-dark-theme & { - outline-color: $dark-theme-focus; - } } } @@ -285,11 +280,6 @@ _::-webkit-full-page-media, _:future, :root .has-multi-selection .block-editor-b &.block-editor-block-list__block:not([contenteditable]):focus { &::after { outline-color: var(--wp-block-synced-color); - - // Show a light color for dark themes. - .is-dark-theme & { - outline-color: $dark-theme-focus; - } } } } diff --git a/packages/block-library/src/navigation-link/editor.scss b/packages/block-library/src/navigation-link/editor.scss index 6d1dc32e5310b5..84cd6f6d4ee363 100644 --- a/packages/block-library/src/navigation-link/editor.scss +++ b/packages/block-library/src/navigation-link/editor.scss @@ -87,9 +87,6 @@ $stop2: 64%; --wp-underline-color: var(--wp-admin-theme-color); - .is-dark-theme & { - --wp-underline-color: #{ $dark-theme-focus }; - } background-image: linear-gradient(45deg, transparent ($stop1 - $blur), var(--wp-underline-color) $stop1, var(--wp-underline-color) ($stop1 + $width), transparent ($stop1 + $width + $blur)), diff --git a/packages/block-library/src/template-part/editor.scss b/packages/block-library/src/template-part/editor.scss index 71659ce6ba717a..735c9370099d91 100644 --- a/packages/block-library/src/template-part/editor.scss +++ b/packages/block-library/src/template-part/editor.scss @@ -35,11 +35,6 @@ &.block-editor-block-list__block:not([contenteditable]):focus { &::after { outline-color: var(--wp-block-synced-color); - - // Show a light color for dark themes. - .is-dark-theme & { - outline-color: $dark-theme-focus; - } } } }