Commit Graph

17 Commits

Author SHA1 Message Date
Sébastien Mottet (oms) 285d413a44 [FIX] theme_*: move snippet lists from iap to design-theme repo
Previously the configurator retrieved the snippet lists
needed to build the website pages from IAP. These lists
have been put in the theme manifests and can be accessed
from it.

Odoo PR: odoo/odoo#77243
IAP PR: odoo/iap-apps#411

closes odoo/design-themes#505

Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2021-09-30 14:33:18 +00:00
qsm-odoo f244035809 [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#506

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-09-27 15:31:08 +00:00
Design f2453983a7 [FIX] theme_*: move svg preview from iap to design-themes repo
closes odoo/design-themes#502

Related: odoo/odoo#77139
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2021-09-24 17:11:58 +00:00
qsm-odoo bef2fc761f [REF] theme_paptic: normalize XML indentation
Part-of: odoo/design-themes#500
2021-09-24 04:52:31 +00:00
Brieuc-brd a416e49105 [IMP] theme_paptic: update the theme
This commit updates the theme to improve the design with shapes, new
pictures and new custom snippets.

task-2602618

closes odoo/design-themes#467

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-09-16 14:59:43 +00:00
qsm-odoo 591d4c27fb [REF] *: adapt to header templates revision at [1]
*: theme_cobalt, theme_paptic

[1]: https://github.com/odoo/odoo/pull/68149

closes odoo/design-themes#11

Related: odoo/upgrade#2294
Related: odoo/odoo#68149
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-09-03 14:29:41 +00:00
Sébastien Mottet (oms) e05e835b28 [FIX] theme_*: check cta_btn_text is not False before applying upper
The themes cobalt, paptic and vehicle apply upper on cta_btn_text for some
snippets. In some case cta_btn_text is a boolean (False) and not a string.
We must check cta_btn_text is not False before calling upper on it.

task-2518565

closes odoo/design-themes#33

Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2021-07-07 09:26:38 +00:00
Sébastien Mottet (oms) 20cca57c52 [IMP] website: change CTA based on website main objective
If user selects 'schedule appointments' as main objective in the configurator
and if the website_calendar module is installed then the Call To Action of
snippets s_banner, s_cover and s_call_to_action is changed to 'Schedule an
appointment' and redirect user to '/calendar' on click.

task-2518565

closes odoo/design-themes#5

Related: odoo/odoo#71162
Related: odoo/enterprise#18690
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2021-06-29 12:57:11 +00:00
Brieuc-brd 34d61b2815 [IMP] theme_*: update according to new shapes
task-2319488

closes odoo/design-themes#17

Related: odoo/odoo#70843
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-06-15 12:24:08 +00:00
Younn Olivier da5c40ff38 [IMP] theme_*: use theme colors for snippets background
This commit changes the bg-200 static color that some snippets were
using, for the second theme color so that blocks backgrounds connect
well together.

task-2542318

closes odoo/design-themes#15

Related: odoo/odoo#71426
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-06-10 13:39:33 +00:00
qsm-odoo 8e181539a5 [IMP] theme_*: remove hardcoded colors on shapes and snippets
Instead now use another custom mapping for the default colors of the
shapes which are used for the default homepage. This allows for the
built page to work with any color palette (especially useful for built
pages in the new configurator) and to handle footer/header connection.

Also change some shapes and default background colors to match what
the preview wanted directly (instead of relying on user asked change as
that would not be handled when generating the page automatically with
the configurator).

Part of https://github.com/odoo/design-themes/pull/2
task-2491890

closes odoo/design-themes#12

closes odoo/design-themes#14

Related: odoo/odoo#71665
Related: odoo/odoo#71768
X-original-commit: 845b969555
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-06-04 15:52:42 +00:00
qsm-odoo 2da6c2e84d [IMP] theme_*: remove save step from tour definition
It is now automatic as the last step of the homepage tours.

Part of https://github.com/odoo/design-themes/pull/2
task-2491890

X-original-commit: 9ee8f97264
2021-06-04 15:52:42 +00:00
qsm-odoo c74c9fcad1 [FIX] theme_cobalt, theme_paptic: restore proper asset order
Error made during migration of assets, those files became prepend to
the bundle instead of append to... hopefully these are the only ones.

Part of https://github.com/odoo/design-themes/pull/2
task-2491890

X-original-commit: 1fe3c6aecc
2021-06-04 15:52:42 +00:00
Jeremy Kersten 62311833d9 [ADD] theme master 2021-05-10 15:46:48 +02:00
Jeremy Kersten 84ba083d17 [ADD] theme saas-14.3 2021-05-10 15:46:42 +02:00
Jeremy Kersten f8d6990b6b [ADD] theme saas-14.1 2021-05-10 15:46:29 +02:00
Jeremy Kersten cb1e3be3f8 [ADD] theme 14.0 2021-05-10 15:45:35 +02:00