summaryrefslogtreecommitdiff
path: root/addons/web_editor/views/editor.xml
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2020-05-28 10:04:44 +0000
committerqsm-odoo <qsm@odoo.com>2020-06-02 09:42:19 +0000
commitade27dd08dd8a4aebebe04665171c1c39a00b338 (patch)
treeb8b4869f0ed8f7287ff8c8cee94311133d57a08b /addons/web_editor/views/editor.xml
parentd9c4d928f7c7e148d024cb56f53e6bfb98389f6d (diff)
[IMP] web_editor: allow color combinations specific override and access
Now, the colors used in a color combination are accessible and possible to override through the BS $colors map, with a specific prefix (o-cc for "color combination"). So, to access the 'headings' color of the color combination 3, use: color('o-cc3-headings'); If you don't need to completely override a color combinations preset, you can override what you want through a color palette: $o-color-palettes: ( ( 'text': red, 'o-cc4-btn-primary': 'alpha', // ... ) ); As our current system allows the user to customize colors of the color palette (like for menu, default text, etc), this will allow to easily give them the possibility to override combinations colors in a future update. Part of https://github.com/odoo/odoo/pull/45856 task-2197038
Diffstat (limited to 'addons/web_editor/views/editor.xml')
0 files changed, 0 insertions, 0 deletions