diff --git a/skinStyles/ext.visualEditor.less b/skinStyles/ext.visualEditor.less index f86a474fa..5f03cf286 100644 --- a/skinStyles/ext.visualEditor.less +++ b/skinStyles/ext.visualEditor.less @@ -1,7 +1,24 @@ -.ve-activated { +html.ve-activated { // Temporarily disable TOC in edit mode until TOC works with both visual and source editors // T294950 .vector-toc { display: none; } + + // T367822 + &.skin-theme-clientpref-night { + .ve-ce-branchNode-blockSlug, + body p.ve-ce-branchNode-newSlug { + background-color: rgba( 241, 247, 251, 0.1 ); + } + } + + @media ( prefers-color-scheme: dark ) { + &.skin-theme-clientpref-os { + .ve-ce-branchNode-blockSlug, + body p.ve-ce-branchNode-newSlug { + background-color: rgba( 241, 247, 251, 0.1 ); + } + } + } }