From d0b08025c252c158ae6a5d79a59df2c26de36888 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#811 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 d7f3616f2..07a2de841 100644 --- a/theme_enark/static/src/scss/primary_variables.scss +++ b/theme_enark/static/src/scss/primary_variables.scss @@ -146,7 +146,7 @@ $o-website-values-palettes: ( 'buttons-font': 'Bitter', 'footer-template': 'descriptive', 'header-links-style': 'outline', - 'btn-primary-outline': 'true', + 'btn-primary-outline': true, ), );