From 20cf610fad25dfaa00c11f682f871c7df2aad633 Mon Sep 17 00:00:00 2001 From: Brieuc-brd Date: Tue, 8 Mar 2022 11:58:21 +0000 Subject: [PATCH] [REF] web: change $dark variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Prior this commit, the dark color was the same as the Bootstrap color. It wasn't contrasted enough and was therefore replaced by raw css in some situations. To keep consistency with the overall layout, this commit applies the darkest gray as the $dark variable to improve the value and now encourages the use of utility classes instead of raw values. task-2788931 closes odoo/odoo#86046 Related: odoo/enterprise#25100 Signed-off-by: Adrien Dieudonné (adr) --- addons/web/static/src/legacy/scss/bootstrap_overridden.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/web/static/src/legacy/scss/bootstrap_overridden.scss b/addons/web/static/src/legacy/scss/bootstrap_overridden.scss index ca6b4a282cc..230eaa29a72 100644 --- a/addons/web/static/src/legacy/scss/bootstrap_overridden.scss +++ b/addons/web/static/src/legacy/scss/bootstrap_overridden.scss @@ -23,6 +23,7 @@ $black: #000 !default; $primary: $o-brand-primary !default; $secondary: $white !default; +$dark: $o-gray-900 !default; $success: $o-success !default; $info: $o-info !default;