From 3bb934b4e3d2e38ac22c2208dae370f9b6091779 Mon Sep 17 00:00:00 2001 From: xlu-odoo Date: Mon, 13 Dec 2021 15:57:24 +0000 Subject: [PATCH] [FIX] theme_*: use correct header SCSS variable This commit fixes the "Contact" header and the "default" header that were not displaying correctly (in related themes) in the web editor panel as expected. task-2713578 closes odoo/design-themes#557 X-original-commit: f403f252bc709d8ec76312eb6e7ff75ff30aad11 Signed-off-by: Quentin Smetz (qsm) --- theme_anelusia/static/src/scss/primary_variables.scss | 2 +- theme_buzzy/static/src/scss/primary_variables.scss | 2 +- theme_graphene/static/src/scss/primary_variables.scss | 2 +- theme_notes/static/src/scss/primary_variables.scss | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/theme_anelusia/static/src/scss/primary_variables.scss b/theme_anelusia/static/src/scss/primary_variables.scss index 973134c3b..208a36a3e 100644 --- a/theme_anelusia/static/src/scss/primary_variables.scss +++ b/theme_anelusia/static/src/scss/primary_variables.scss @@ -8,7 +8,7 @@ $o-website-values-palettes: ( // Header 'header-font-size': 1rem, - 'header-template': 'template_header_default', + 'header-template': 'default', // Font 'font': 'Source Sans Pro', diff --git a/theme_buzzy/static/src/scss/primary_variables.scss b/theme_buzzy/static/src/scss/primary_variables.scss index 32ae3ea0e..cc8dfed93 100644 --- a/theme_buzzy/static/src/scss/primary_variables.scss +++ b/theme_buzzy/static/src/scss/primary_variables.scss @@ -9,7 +9,7 @@ $o-website-values-palettes: ( // Header 'logo-height': 2.75rem, 'fixed-logo-height': 2rem, - 'header-template': 'template_header_default', + 'header-template': 'default', // Font 'font': 'Montserrat', diff --git a/theme_graphene/static/src/scss/primary_variables.scss b/theme_graphene/static/src/scss/primary_variables.scss index 3e4d05a15..2fd4be568 100644 --- a/theme_graphene/static/src/scss/primary_variables.scss +++ b/theme_graphene/static/src/scss/primary_variables.scss @@ -104,7 +104,7 @@ $o-website-values-palettes: ( 'btn-ripple': true, 'layout': 'boxed', - 'header-template': 'contact', + 'header-template': 'Contact', 'footer-template': 'centered', 'btn-font-size-lg': 1rem, diff --git a/theme_notes/static/src/scss/primary_variables.scss b/theme_notes/static/src/scss/primary_variables.scss index fad498d2a..9e387b17b 100644 --- a/theme_notes/static/src/scss/primary_variables.scss +++ b/theme_notes/static/src/scss/primary_variables.scss @@ -128,7 +128,7 @@ $o-website-values-palettes: ( 'navbar-font': 'Montserrat', 'buttons-font': 'Montserrat', 'link-underline': 'never', - 'header-template': 'template_header_default', + 'header-template': 'default', 'footer-template': 'descriptive', ), );