diff options
| author | qsm-odoo <qsm@odoo.com> | 2018-11-07 11:01:14 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2018-11-07 17:41:08 +0000 |
| commit | 566cece592b4c711b655a7445ed454afc6ced46a (patch) | |
| tree | e45ec2b6686ae3a2fa3f7d60a8b1d2196fca1db1 /addons/web/static/src/js | |
| parent | 8108a60dc38432243bef4f934784b119c77cf91d (diff) | |
[FIX] website, *: review auto light and dark colors
* web, web_editor
The logic which chose if the user text color was supposed to be used as
bootstrap "dark" text color or bootstrap "light" text color
(https://github.com/odoo/odoo/commit/8b2dbd1441d6713d9072db03e8d3cb6c2246410f)
was fine when using the default theme with default bootstrap but was not
working as intended in some themes.
This commit also introduces a more accurate and complex method to
determine the correct contrasted color in most cases.
closes odoo/odoo#28468
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions
