[FIX] mail: same discuss badge color as systray in dark theme
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) <did@odoo.com> Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
@@ -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%));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user