From 72c26c8c30edfa3e7d6ec2a1876cac0f2eff7453 Mon Sep 17 00:00:00 2001 From: Prakash Prajapati Date: Wed, 11 Oct 2023 18:29:47 +0530 Subject: [PATCH] [FIX] web: fix color-list in the Dark Mode Step: - install planning module - active the Dark Mode - open planning model - create shift with material resource - check the material resource icon Issue: when dark mode active that time background and color are not proper show Fix: We have fixed according the tag_list. task-3524295 closes odoo/odoo#138391 Related: odoo/enterprise#54510 Signed-off-by: Xavier Bol (xbo) --- addons/web/static/src/core/colorlist/colorlist.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/web/static/src/core/colorlist/colorlist.scss b/addons/web/static/src/core/colorlist/colorlist.scss index 2e7f864f845..ddc28b65a82 100644 --- a/addons/web/static/src/core/colorlist/colorlist.scss +++ b/addons/web/static/src/core/colorlist/colorlist.scss @@ -14,7 +14,9 @@ @for $size from 2 through length($o-colors) { .o_colorlist_item_color_#{$size - 1} { $-bg: adjust-color(nth($o-colors, $size), $lightness: 25%, $saturation: 15%); + $-color: adjust-color(nth($o-colors, $size), $lightness: -40%, $saturation: -15%); @include o-print-color($-bg, background-color, bg-opacity); + @include o-print-color($-color, color, text-opacity); } }