[FIX] *: remove yiq threshold overrides

Many themes were overriding the yiq threshold, thus having an impact
on which of the dark or light text is used over a particuler background
by default. This is a tricky value to change and only made some sense
when the Odoo themes were defining their own color palettes. Now that
all palettes can be used in all themes, it makes no sense to change the
yiq threshold as it induces inconsistent behavior for a same palette
used in different themes. Besides, leaving the value by default is most
of the time what you want and when it is not entirely correct, the user
has full control over the color combination text colors anyway.

task-2655730

closes odoo/design-themes#507

X-original-commit: f244035809
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
qsm-odoo
2021-09-27 11:44:58 +00:00
parent 7a9597405b
commit a6529ea67b
11 changed files with 0 additions and 47 deletions
-5
View File
@@ -1,8 +1,3 @@
// Colors
// The yiq lightness value that determines when the lightness of color changes from "dark" to "light". Acceptable values are between 0 and 255.
$yiq-contrasted-threshold: 200 !default;
// Shadows
$box-shadow-sm: 0 0 .3125rem rgba(0,0,0,.25) !default;