summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_cheatsheet.rst
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-10-01 16:45:37 +0200
committerqsm-odoo <qsm@odoo.com>2018-10-01 21:33:32 +0200
commit8b2dbd1441d6713d9072db03e8d3cb6c2246410f (patch)
treef6f2b5737582567fb2929739dc303150b1332f1b /doc/reference/javascript_cheatsheet.rst
parent89678c60412feea004cd3081200092365e6ef3b4 (diff)
[FIX] website: handle light colors as body text color
Before this commit, if the user chose a light color for the text (with a dark color for the body for example), that color was also used for the automatic "dark" color, leaving the "light" color to the default $white. That means that when a light snippet background was set, the automatic color which was used was the light color the user chose. We want to invert the system in that case: use the user color as the "light" color to use over dark backgrounds and leave the "dark" color to the default $gray-900. This is what this commit does.
Diffstat (limited to 'doc/reference/javascript_cheatsheet.rst')
0 files changed, 0 insertions, 0 deletions