From b879b8728128c2178052be45b3e93c5c0337e932 Mon Sep 17 00:00:00 2001 From: Muhammad Arnaldo Date: Fri, 31 Oct 2025 14:14:25 +0700 Subject: [PATCH] MDL-86547 theme_boost: Improve inline code contrast in editor Changed the background color of highlighted inline code for better accessibility. --- public/theme/boost/scss/editor.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/public/theme/boost/scss/editor.scss b/public/theme/boost/scss/editor.scss index b5a870aeb93..2ffd9074192 100644 --- a/public/theme/boost/scss/editor.scss +++ b/public/theme/boost/scss/editor.scss @@ -17,3 +17,10 @@ table:not(.table) { border-width: $table-border-width; } } + +code[data-mce-selected="inline-boundary"]:not(pre code) { + background-color: $gray-100 !important; /* stylelint-disable-line declaration-no-important */ + border: thin solid $gray-500; + border-radius: 0.25rem; + padding: 0.125rem; +}