[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) <qsm@odoo.com>
This commit is contained in:
qsm-odoo
2019-03-18 11:29:57 +00:00
parent 7cc7828547
commit cab053dc5a
+1 -1
View File
@@ -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);