From 25b4836cf40ccc4858b5b40bfd4dd36972658f2f Mon Sep 17 00:00:00 2001 From: "Chrysanthe (chgo)" Date: Thu, 26 Oct 2023 09:29:34 +0200 Subject: [PATCH] [FIX] onboarding: dark variables not loaded MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit fixes an issue about the `onboarding.variables.dark.scss` file not being taken into account inside the manifest. Since saas-16.4, there is an issue with the onboarding files. If you turn on the dark mode, the `.variables.dark` overrides are not taken into account, but instead display the light mode variables. This causes readability issue about the text being too dark. This seems to happen because the dark mode file is already loaded with the light one. task-3201038 closes odoo/odoo#140090 X-original-commit: 9e1e72bfff1a8f27513dbb2a2a2aae0213bc78ed Signed-off-by: Pierre Paridans (app) Signed-off-by: Chrysanthe Gomrée (chgo) --- addons/onboarding/__manifest__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/onboarding/__manifest__.py b/addons/onboarding/__manifest__.py index 65fb4f35d48..da53c7ced9a 100644 --- a/addons/onboarding/__manifest__.py +++ b/addons/onboarding/__manifest__.py @@ -21,6 +21,7 @@ This module allows to manage onboardings and their progress 'assets': { 'web.assets_backend': [ 'onboarding/static/src/**/*', + ("remove", "onboarding/static/src/scss/onboarding.variables.dark.scss"), ], "web.dark_mode_variables": [ ('before', 'onboarding/static/src/scss/onboarding.variables.scss', 'onboarding/static/src/scss/onboarding.variables.dark.scss'),