diff --git a/addons/web/static/src/scss/bootstrap_review_frontend.scss b/addons/web/static/src/scss/bootstrap_review_frontend.scss index 53358451e7c..91fb157674c 100644 --- a/addons/web/static/src/scss/bootstrap_review_frontend.scss +++ b/addons/web/static/src/scss/bootstrap_review_frontend.scss @@ -229,3 +229,10 @@ $-color-for-gray-200-bg: adjust-color-to-background($body-color, $gray-200); @include border-radius($input-border-radius, 0); } } + +// Dropdown +.dropdown .dropdown-menu { + .text-muted { + color: adjust-color-to-background($text-muted, $dropdown-bg, mute-color($color-contrast-light), mute-color($color-contrast-dark)) !important; + } +} diff --git a/addons/web_editor/static/src/scss/web_editor.common.scss b/addons/web_editor/static/src/scss/web_editor.common.scss index b203d9e59ec..045dec78fd6 100644 --- a/addons/web_editor/static/src/scss/web_editor.common.scss +++ b/addons/web_editor/static/src/scss/web_editor.common.scss @@ -595,10 +595,6 @@ blockquote { } } .dropdown-menu .dropdown-item-text .text-muted { - // Search autocomplete messages are shown as text-muted entries. - // These need to be reset in case a dark palette is applied. - color: $text-muted !important; - a { // Search autocomplete's fuzzy matched term is shown as a link // within an information message.