From a74691949c21b9a6afe032f5f5b0751331201af4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20K=C3=BChn?= Date: Mon, 30 Oct 2023 09:40:59 +0000 Subject: [PATCH] [FIX] mail: same discuss badge color as systray in dark theme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Dark-mode colors have been adapted from MILK redesign in 16.3 [1]. Discuss badge colors were changed in 16.4 to match systray color [2]. Commit [1] adapted them to use primary color instead of intended sytray color. Removing the override of style fixes the issue, as the base style in `core.scss` (white theme) works in both themes. [1]: https://github.com/odoo/odoo/pull/130991 [2]: https://github.com/odoo/odoo/pull/122946 closes odoo/odoo#140300 X-original-commit: b46bded27349acd311682846c0a0416ce4898882 Signed-off-by: Didier Debondt (did) Signed-off-by: Alexandre Kühn (aku) --- addons/mail/static/src/core/common/core.dark.scss | 7 ------- 1 file changed, 7 deletions(-) diff --git a/addons/mail/static/src/core/common/core.dark.scss b/addons/mail/static/src/core/common/core.dark.scss index e9338a17fd7..2f0e3b8d1d1 100644 --- a/addons/mail/static/src/core/common/core.dark.scss +++ b/addons/mail/static/src/core/common/core.dark.scss @@ -1,10 +1,3 @@ -.o-discuss-badge { - --o-discuss-badge-bg: #{map-get($o-theme-text-colors, 'primary')}; // sync with --o-navbar-badge-bg - &.o-muted { - --o-discuss-badge-bg: #{$gray-300}; - } -} - a.o_mail_redirect, a.o_channel_redirect { @include button-variant(rgba($primary, .2), rgba($primary, .2), lighten($link-color, 5%), rgba($primary, .3), rgba($primary, .3), lighten($link-color, 10%)); }