From cab053dc5a47590d1ed47327bef8ee940862a989 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Mon, 18 Mar 2019 11:29:57 +0000 Subject: [PATCH] [FIX] website: restore default h1 color in customize dialog Since the bootstrap update that was merged with https://github.com/odoo/odoo/commit/754ec4450832dceef83c3a0abb79401f2e7ec05d the customize theme dialog was showing transparent colors for the headings. This was because bootstrap changed the value of the related variable from 'inherit' to 'null' to avoid an useless css rule if the headings are supposed to have the same color as the body text. closes odoo/odoo#31909 Signed-off-by: Quentin Smetz (qsm) --- addons/website/static/src/scss/website.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website/static/src/scss/website.scss b/addons/website/static/src/scss/website.scss index 2aec4f03251..e384e8df34b 100644 --- a/addons/website/static/src/scss/website.scss +++ b/addons/website/static/src/scss/website.scss @@ -38,7 +38,7 @@ $-font-numbers: ( } // 5) Use final value used by the theme - $-h1-color: if($headings-color == inherit, $body-color, $headings-color); + $-h1-color: if($headings-color == inherit or not $headings-color, $body-color, $headings-color); $-h2-color: if(color('h2'), color('h2'), $-h1-color); $-h3-color: if(color('h3'), color('h3'), $-h2-color); $-h4-color: if(color('h4'), color('h4'), $-h3-color);