From 3cd215853acb6c1036905c5132b5ca41a92b03d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Souk=C3=A9ina=20Bojabza?= Date: Wed, 19 Jun 2024 11:18:32 +0200 Subject: [PATCH] [FIX] theme_enark: set a real boolean value to `btn-outline-primary` For each theme, there are files redefining the different website SCSS variables, in order for the color palettes, fonts, buttons,... to have the styles defined by them. These redefinitions are also used by the "Theme Options", to show the current values in the different widgets. In order for the primary buttons to be "outlined", the "Enark" theme set the `btn-primary-outline` variable to `'true'`. However, this value should be a boolean instead of a string. Indeed, since the option does not recognize the string value, the "Buttons Primary Style" widget therefore shows a "/" instead of "Outline", which is not correct. This commit fixes this by setting a boolean value. opw-3957157 closes odoo/design-themes#814 X-original-commit: 14ff983da216f573407965aa58d615a69b90d62a Signed-off-by: Quentin Smetz (qsm) --- theme_enark/static/src/scss/primary_variables.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme_enark/static/src/scss/primary_variables.scss b/theme_enark/static/src/scss/primary_variables.scss index fef0d87c1..e5c5bb586 100644 --- a/theme_enark/static/src/scss/primary_variables.scss +++ b/theme_enark/static/src/scss/primary_variables.scss @@ -143,7 +143,7 @@ $o-website-values-palettes: ( 'buttons-font': 'Bitter', 'footer-template': 'descriptive', 'header-links-style': 'outline', - 'btn-primary-outline': 'true', + 'btn-primary-outline': true, ), );