From 45a54104bfdee9f0459bc35d7da15c6e586b4982 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Tue, 18 Dec 2018 16:08:31 +0000 Subject: [REF] website: unify the theme customize dialog color options Before this commit, color options in the theme customize were treated as big exception in the system. The whole color panel XML was defined client-side and used custom design. Now, all colors are defined as options in the "server-side" template, allowing for more customizations and better maintenance. This commit also makes the color saving system generic to allow for more new options in the future (like customizing the logo height or the font size, which is the next task). PR https://github.com/odoo/odoo/pull/29624 task-1904244 --- addons/website/static/src/xml/website.editor.xml | 47 +++--------------------- 1 file changed, 5 insertions(+), 42 deletions(-) (limited to 'addons/website/static/src/xml/website.editor.xml') diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml index 293b68a93a6..d02d82eb5aa 100644 --- a/addons/website/static/src/xml/website.editor.xml +++ b/addons/website/static/src/xml/website.editor.xml @@ -37,58 +37,21 @@
-
+
- -
- -
-
-
Main colors
- - - - - -
-
-
Background colors
- - - -
-
-
Text colors
- - - -
-
-
State colors
- - - - - -
-
-
- - + t-att-data-color-type="colorType"/> -- cgit v1.2.3