158 Commits

Author SHA1 Message Date
Chrysanthe (chgo) 8d1c11aa59 [IMP] theme_*: review s_cta_box occurrences
*: anelusia, artists, avantgarde, aviato, beauty, bewise, bistro,
bookstore, buzzy, clean, cobalt, enark, graphene, kea, kiddo, loftspace,
monglia, nano, notes, odoo_experts, orchid, paptic, real_estate,
treehouse,vehicle, yes, zap.

This commit customizes the new `s_cta_box` snippet across all the design
themes.

task-4094396
Part of task-4077427

closes odoo/design-themes#863

Related: odoo/odoo#175703
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
2024-08-14 12:47:49 +00:00
Xavier Luyckx (xlu) f2b03ac7bf [IMP] theme_*: adapt themes with new s_unveil snippet
*: anelusia, avantgarde, aviato, beauty, bewise, bookstore, ernark,
graphene, kea, kiddo, loftspace, monglia, nano, notes, odoo experts,
orchid, paptic, real_estate, treehouse, vehicle, yes, zap

This commit adapts the design of new s_unveil snippet for multiple
themes.

task-4104471

closes odoo/design-themes#860

Part-of: task-4077427
Related: odoo/odoo#176167
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
2024-08-14 09:24:56 +00:00
stefanorigano (SRI) 57cf8bb724 [IMP] theme_bookstore, *: adapt to new s_masonry_block design
*: theme_notes, theme_real_estate, theme_yes, theme_zap, theme_vehicle

Along with xPath adaptations, this commit also replaces a pixelated
image in the 'theme_yes'.

task-3665303
part of task-3619705

closes odoo/design-themes#839

Related: odoo/odoo#173870
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
2024-08-07 10:00:54 +00:00
Chrysanthe (chgo) aa5ce391ae [IMP] review numbers snippets occurrences across design themes
This commit reviews the occurrences of the numbers snippets across
the website themes, especially broken selector.

The goal of this commit is to fix potential broken xpath as wel as
fine-tune the design if needed.

task-3924624

Part-of: odoo/design-themes#822
Related: odoo/odoo#163583
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-08-01 11:09:47 +00:00
Brieuc-brd 0211b2367d [IMP] theme_anelusia, *: s_product_catalog adaptations
*: theme_artists, theme_avantgarde, theme_beauty, theme_bewise,
theme_bistro, theme_bookstore, theme_buzzy, theme_clean, theme_kiddo,
theme_loftspace, theme_notes, theme_odoo_experts, theme_orchid,
theme_paptic

This commit adapts the s_product_catalog customizations since this
snippet has been redesigned in PR [1].

task-3665307
Part of task-3619705

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

closes odoo/design-themes#833

Related: odoo/odoo#173507
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
2024-07-31 14:19:51 +00:00
Antoine (anso) 676e43f93c [IMP] theme_*: adapt themes with new s_company_team design
*: (anelusia, beauty, bewise, graphene, notes, yes)

This commit adapts the design of `s_company_team` for multiple themes,
based on the new Odoo 18 snippet redesign.

task-3657640

closes odoo/design-themes#844

Related: odoo/odoo#172719
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
2024-07-31 07:49:47 +00:00
Chrysanthe (chgo) 143585714a [IMP] theme_*: adapt s_call_to_action snippet design
This commit applies some changes to the CTA snippet
occurrences existing in design themes.

*: anelusia, artists, avantgarde, beauty, bewise, bookstore, buzzy,
clean, enark, graphene, kiddo, loftspace, monglia, notes, odoo_experts,
orchid, paptic, treehouse, vehicle, yes, zap.

task-3670312

closes odoo/design-themes#823

Related: odoo/odoo#172728
Related: odoo/enterprise#66578
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
2024-07-30 15:32:15 +00:00
Brieuc-brd 7b5b320e1d [IMP] theme_anelusia, *: adapt s_color_blocks_2 customizations
*: theme_artists, theme_beauty, theme_bewise, theme_buzzy, theme_clean,
theme_cobalt, theme_kea, theme_loftspace, theme_notes,
theme_odoo_experts, theme_paptic, theme_treehouse, theme_zap

This commit adapts the s_color_blocks_2 customizations since this
snippet has been redesigned in PR [1].

task-3665302
Part of task-3619705

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

closes odoo/design-themes#834

Related: odoo/odoo#173461
Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
2024-07-26 17:36:10 +00:00
Chrysanthe (chgo) d3d4d7b900 [IMP] theme_*: review s_cover templates
This commit aims to review all the occurrences of the `s_cover`
snippet across the themes in order to fix broken selectors.

task-3665300

Part-of: odoo/design-themes#827
Related: odoo/odoo#172725
Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
2024-07-26 17:36:07 +00:00
Chrysanthe (chgo) c3bee92507 [IMP] theme_*: adapt s_image_text templates
This commit aims to review all the occurrences of the `s_image_text`
snippet across the themes in order to fix broken selectors.

task-3665301

closes odoo/design-themes#830

Related: odoo/odoo#173311
Signed-off-by: Robin Lejeune (role) <role@odoo.com>
2024-07-26 09:53:51 +00:00
Chrysanthe (chgo) 24b689a882 [IMP] theme_*: adapt s_text_image templates
This commit aims to review all the occurrences of the `s_text_image`
snippet across the themes in order to fix broken selectors.

task-3665301

Part-of: odoo/design-themes#830
Related: odoo/odoo#173311
Signed-off-by: Robin Lejeune (role) <role@odoo.com>
2024-07-26 09:53:50 +00:00
Chrysanthe (chgo) 0a64c011f5 [IMP] theme_*: review s_features_grid snippet
This commit reviews the occurrences of the features_grid snippet across
design themes.

*: theme_artists, theme_bewise, theme_bookstore, theme_buzzy,
theme_loftspace, theme_notes, theme_odoo_experts, theme_paptic,
theme_vehicle

task-3619705

closes odoo/design-themes#825

Related: odoo/odoo#172974
Signed-off-by: Arthur Detroux (ard) <ard@odoo.com>
2024-07-25 14:40:58 +00:00
Benjamin Vray 2b3b8b49b4 [IMP] test_themes, theme_* : Adapts tours for new dragNDrop system
Following the change in the way of dragging and dropping a snippet onto
the page (by selecting it from a dialog displaying the actual previews
of snippets). The themes tours have been adapted to this change in this
commit.

task-3919405

closes odoo/design-themes#817

Related: odoo/odoo#166967
Related: odoo/enterprise#66150
Signed-off-by: Robin Lejeune (role) <role@odoo.com>
2024-07-23 16:22:48 +00:00
Louis Wicket (wil) b128f145b8 [I18N] export source terms
closes odoo/design-themes#835

X-original-commit: ee2b1f0c6e
Related: odoo/odoo#173549
Related: odoo/enterprise#66844
Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
2024-07-22 10:12:52 +00:00
Pierre Pulinckx (PIPU) 96c4cb68ad [REF] theme_*: remove extra_trigger
In order to simplify the tours API, it was decided to remove the
extra_trigger key from the steps.
To check that an element is in the DOM, simply create a step with
a trigger.

task~3974087

closes odoo/design-themes#816

Related: odoo/odoo#171309
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2024-07-02 09:46:48 +00:00
Guillaume-gdi 9ca60388f1 [REM] theme_*: remove useless scss variable overrides
This commit removes the overrides of scss variables that are set to the
default value and duplicated overrides.

task-2463604

closes odoo/design-themes#768

Signed-off-by: Outagant Mehdi (mou) <mou@odoo.com>
2024-03-15 15:59:06 +00:00
Benoit Socias 9c0707ceac [FIX] theme_*: call _generate_primary_templates before importing data
To make sure the required primary templates have been generated from
the theme's manifest when inherited views are imported/updated, this
commit triggers their generation from a first imported XML file.

This has been added to all themes for consistency, even the ones that
do not require it currently.

Related to https://github.com/odoo/odoo/pull/148443

task-3670496

X-original-commit: 22abe61eaf
Part-of: odoo/design-themes#761
2024-02-03 06:07:04 +00:00
Benoit Socias aed6d0585b [FIX] theme_*: remove unused configurator snippets
When shapes were extracted to configurator snippets in [1], some
configurator-specific snippets were created that do not appear on pages
of the specific theme.
Because in [2] the call to `_generate_primary_snippet_templates` is done
on a full list of themes instead of only the installed ones, the problem
was not noticed: if any theme defines a block, it's website-side
configurator-specific template is generated.
This is not the case during an upgrade: the templates are generated only
for the installed themes. Because of this some "useless" configurator
templates trigger an error when importing their XML definition because
their parent template does not exist.

This commit fixes this by removing those templates.

[1]: https://github.com/odoo/design-themes/commit/d206c119720d557c11320ebb3d7339890b8f9efa
[2]: https://github.com/odoo/odoo/commit/928eeca714a161f6bc03343e4dc8af9b050b9841#diff-f49a1e9eda23df9f1d48121ba376a5fabafe70ea18b29d4eab23d737e5d4eeb6R446

closes odoo/design-themes#752

X-original-commit: 7b27828755
Related: odoo/odoo#144666
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2023-12-07 20:45:45 +00:00
Hubert Van de Walle (huvw) 3b94657c59 [FIX] theme_*: Update homepage tours
Steps to reproduce
==================

Run the `test_02_homepage_tour_every_theme` tour.

Cause of the issue
==================

There is an homepage tour for every theme. Since the owl conversion of
web_tour, none of the custom theme tour were run and for every website,
the default homepage tour was used instead.

Some updates to those themes caused the tours to fail, but since they
weren't run, no one noticed.

The issue has been fixed in community:
https://github.com/odoo/odoo/pull/142350

Solution
========

Since 1aa6700c98,
some h1 tags were replaced by h2.

Since 68c68740bf,
The banner has been replaced by a text cover.

opw-3595512

X-original-commit: 2e263a4f6b
Part-of: odoo/design-themes#746
2023-11-27 13:31:03 +00:00
Louis Wicket (wil) 936f086d9a [IMP] *: remove obsolete entries from po/pot files
Remove all occurrences of python-format from po/pot files.

Task-3599456.

closes odoo/design-themes#749

Related: odoo/enterprise#51147
Related: odoo/odoo#142878
Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
2023-11-24 19:36:09 +00:00
Benoit Socias 1a96421764 [FIX] theme_*: remove duplicate and conflicting classes from new pages
Given that the duplicate and conflicting classes resolved by the
previous commit did still exist at the time new page templates were
introduced in [1], they could not be avoided for new page templates
snippets.

This commit removes those from the new page templates snippets now that
they have been removed from the base snippets.

[1]: https://github.com/odoo/design-themes/commit/80cbee66f6bb4d897dd7e577f1109c75f6f6ad74

task-3562147

X-original-commit: 9984745d3d
Part-of: odoo/design-themes#744
2023-11-05 04:52:43 +00:00
Louis Wicket (wil) 46e24d47b6 [I18N] theme_*: export source terms
closes odoo/design-themes#736

X-original-commit: 5cb3dbe8b4
Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
2023-10-30 17:10:48 +00:00
qsm-odoo 15bb075d84 [IMP] *: replace mobile menu feature by new mobile layout
See community commit for details.

task-3060986

Part-of: odoo/design-themes#651
2023-10-25 11:37:10 +00:00
Benoit Socias 796da67b29 [IMP] theme_*: restore base snippet shapes that do not connect blocks
In [1] all shapes were moved from the base snippet to the specific
configurator snippet. This was a bit overkill.

This commit reverts this partially so that only shapes that connect
with each other are specific to the configurator, but "intra-block"
shapes are restored onto the base snippet.
The "New page from template" snippets are adapted accordingly in order
to produce the same output as before this commit.

Restored shapes are: (label (image))
- Origins: 12 (18)
- Blob: 11 (11)
- Airy: 03 (03_001), 04 (04_001), 07 (07), 10 (10), 11 (11), 14 (14)
- Zigs: 01 (01_001), 02 (02_001)
- Wavy: 04 (10), 15 (11)
- Blocks: 02 (01_001)
- Rainy: 03 (06), 05 (10), 09 (08_001), 10 (09_001)
- Floats: all

[1]: https://github.com/odoo/design-themes/commit/d206c119720d557c11320ebb3d7339890b8f9efa

task-3555325

closes odoo/design-themes#726

Related: odoo/odoo#138748
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2023-10-25 09:56:42 +00:00
Guillaume (gdi) 1aa6700c98 [IMP] theme_*: prevent abuse of h1 and use font size classes
See related community PR.

task-1958098

closes odoo/design-themes#682

Related: odoo/enterprise#44986
Related: odoo/odoo#129791
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2023-10-19 19:08:09 +00:00
Romain Derie 8b45a6dc29 [FIX] theme_*: adapt .pot file to recent commit changing wording
See commit [1], it changed wording but didn't adapt .pot files.
As that commit was targetting master at first, .pot where not needed.
When changing the target to odoo 16, we forgot to adapt the .pot.

[1]: https://github.com/odoo/design-themes/commit/7cdb6d2ab7054094b5651a43e3bce8e6c7e26e87

closes odoo/design-themes#729

X-original-commit: 5f3599feda
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2023-10-18 07:51:46 +00:00
Romain Derie 9c23ffc98d [IMP] themes_*: rewrite some messages and fix typos
Themes translation in Odoo 16 have been lost, they were not exported on
Transifex anymore (bug).

We just added back the repository on it, and our internal translators
are working on those translations.

They found some typos and bad wording which are fixed here.

Technically, note that we need the themes fully translated for the
chatGPT integration coming in website configurator.
Indeed, if a theme is not (almost fully) translated, it won't be using
chatGPT for text replacement.
This is because if we ask chatGPT to do text replacement and translation
at the same time, it just provides bad results.
See https://github.com/odoo/odoo/pull/137703

closes odoo/design-themes#725

X-original-commit: 7cdb6d2ab7
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2023-10-18 07:51:44 +00:00
Morgane (morm) 80cbee66f6 [IMP] theme_*: adapt New Page template designs for themes
This commit customizes all New Page template designs for every single
theme.

The changes are organized as follow:

When the used blocks are not the default ones:
- the new sequence of block is listed in the `new_page_templates`
manifest entry.
- the blocks are updated in the `new_page_template_sections_..._...`
XML templates accordingly.

After the potential block sequence updates, the `new_page_template.xml`
then first contains the general customization of blocks (those that
apply across all new page templates) then the customization for each
category of page.

Customizations for a specific page are directly below category-wide
customizations of the given block when both exist.

task-3381714

closes odoo/design-themes#692

Related: odoo/odoo#126719
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Co-authored-by: Benoit Socias <bso@odoo.com>
Co-authored-by: Arthur Detroux (ard) <ard@odoo.com>
2023-10-14 03:27:02 +00:00
Benoit Socias 230ded2759 [REF] theme_*: rename snippets_list to configurator_snippets
This commit renames the `snippets_list` manifest key to
`configurator_snippets` across all themes.

task-3381714

Part-of: odoo/design-themes#692
2023-10-14 03:27:02 +00:00
Benoit Socias d206c11972 [IMP] theme_*: extract shapes to configurator-dedicated templates
This commit extracts the pre-defined section shapes from blocks into
templates that are dedicated to being used by the configurator.

For blocks that are not used in configurator pages, the configurator
templates have not been created.

task-3381714

Part-of: odoo/design-themes#692
2023-10-14 03:27:02 +00:00
Brieuc-brd 318fd652f5 [IMP] theme_notes: adapt s_banner
Since the redesign of the original banner snippet, the customizations
made in theme_notes have had to be adapted.

task-3097005

Part-of: odoo/design-themes#687
2023-10-08 10:45:47 +00:00
Martin Trigaux c5a161385d [I18N] *: export 16.0 translations
closes odoo/design-themes#708

X-original-commit: c3d2f03db6
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2023-10-05 15:36:20 +00:00
Robin Lejeune (role) a86d9f73df [FIX] theme_*: remove mb-2 class on orphan buttons
*: anelusia, artists, aviato, graphene, kiddo, loftspace, monglia,
notes, odoo_experts, paptic, test_custo, yes

The community PR [125824] introduces an automatic check on buttons to
add the `mb-2` class when several buttons follow each other, so that
they have space to breathe when split on multiple lines.
For consistency, this commit therefore removes most `mb-2` occurrences
on buttons within themes as long as they are alone on their line, but
keeps or adds the class when several buttons are next to each other.

[125824]: https://github.com/odoo/odoo/pull/125824

task-3369604

closes odoo/design-themes#680

Related: odoo/odoo#125824
Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
2023-08-03 19:30:56 +02:00
Pierre Pulinckx (pipu) 94b3042634 [REF] website_*: Change registerTours of tour_utils
As steps are encapsuled in an arrow function from
69a5d8e3ce47238 for steps tour definition to avoid
direct Markup(_t()) interpretation, the same is done
for registerWebsitePreviewTour() of
"odoo/addons/website/static/src/js/tours/tour_utils.js"
in this commit.

This is done in anticipation of the use of
_t() (import from @web/core/l10n/translation) with
registerWebsitePreviewTour().

task-3292454

closes odoo/design-themes#678

Related: odoo/odoo#130248
Signed-off-by: Luca Vitali (luvi) <luvi@odoo.com>
2023-08-02 13:20:26 +02:00
Bastien PIERRE b9d48ebe86 [IMP] *: Remove alias in JS files
Rename all imports with alias old system to the new js module system
Task ID: 3266759

closes odoo/design-themes#671

Related: odoo/odoo#127414
Related: odoo/enterprise#43716
Signed-off-by: Bastien Pierre (ipb) <ipb@odoo.com>
2023-07-27 11:58:31 +02:00
Victor Feyens c338c17bf7 [FIX] *: clean useless content in manifests
Make sure the linting test added in community do not fail.

closes odoo/design-themes#669

X-original-commit: f78f8df161
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2023-07-07 10:52:58 +02:00
Benjamin Vray 44b3badbca [FIX] theme_*: remove flip classes from theme snippets
Initially, the background shapes were flipped using only CSS. This was
done by adding the classes 'o_we_flip_x' or 'o_we_flip_y' to a shape to
flip it. However, this system caused issues as it sometimes left a gap
between two connected shapes. As a result, the system was changed with
this commit [1], and the classes 'o_we_flip_x' and 'o_we_flip_y' were no
longer used from this point on.

Despite this change, in our themes, we continued to use these obsolete
classes to define whether a shape should be flipped or not. This commit
addresses this by removing all instances of 'o_we_flip_x' and
'o_we_flip_y' classes that were still being used in theme snippets and
replacing them with the new system, where flipping is defined as a
parameter in the background image URL.

Note that in stable versions where we cannot modify theme snippets, we
have added code to automatically adapt the shapes to the new system
(in this commit [2]).

[1]: https://github.com/odoo/odoo/commit/42b3ad10e0b32b7fc72f801e2c67d6baf938c566
[2]: https://github.com/odoo/odoo/commit/256ff539afe331544ccb58848f1ecd0eecbe4daa

task-2824607

closes odoo/design-themes#639

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2023-04-07 19:43:08 +02:00
Soukéina Bojabza 628880b71b [IMP] theme_*: adapt some themes to the grid-only Masonry snippet
The Masonry snippet has been modified to be only in grid mode
and its templates have therefore been changed.

This commit adapts the themes that modify the Masonry templates to be
in accordance with these changes.

See community counterpart for details.

task-2973198

closes odoo/design-themes#601

X-original-commit: ef84cdf84d
Related: odoo/odoo#102525
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-10-06 23:14:30 +02:00
Benoit Socias f127ff3741 [IMP] theme_*: add precondition on tour to ensure expected theme
This commit adds a precondition to verify the presence of the specific
theme at the beginning of their tour.

See https://github.com/odoo/odoo/pull/100690.

task-2687506

closes odoo/design-themes#594

X-original-commit: 8b377af3a7
Related: odoo/odoo#101119
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2022-09-26 14:43:17 +02:00
Romeo Fragomeli ac63e031c0 [REF] *: BS5: adapt changes in media query mixin
> Media query mixins parameters have changed for a more logical approach

> media-breakpoint-down() uses the breakpoint itself instead of the next
> breakpoint (e.g., media-breakpoint-down(lg) instead of
> media-breakpoint-down(md) targets viewports smaller than lg).
> Similarly, the second parameter in media-breakpoint-between() also
> uses the breakpoint itself instead of the next breakpoint (e.g.,
> media-between(sm, lg) instead of media-breakpoint-between(sm, md)
> targets viewports between sm and lg).

https://getbootstrap.com/docs/5.1/migration/#sass

Task ID: 2766483

Part-of: odoo/design-themes#580
2022-07-07 13:29:20 +02:00
xlu-odoo 3bb934b4e3 [FIX] theme_*: use correct header SCSS variable
This commit fixes the "Contact" header and the "default" header that
were not displaying correctly (in related themes) in the web editor
panel as expected.

task-2713578

closes odoo/design-themes#557

X-original-commit: f403f252bc
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2022-04-05 08:55:32 +02:00
Jorge Pinna Puissant dc2f511202 [IMP] theme_*: enable no-unused-vars rule
closes odoo/design-themes#552

Related: odoo/enterprise#24867
Related: odoo/odoo#85569
Signed-off-by: Géry Debongnie <ged@odoo.com>
2022-03-02 13:05:46 +00:00
Romain Derie cf5197e544 [FIX] theme_*: enable footer/header template correctly
See [1], `enable_view()` is now in charge of disabling the already possibly
existing template header (and/or footer).
Disabling `website.template_header_default` was not enough, any of the other
template could have been selected by the user before updating the theme.

Note that when installing a theme the first time on a website, the error won't
occur as `_reset_default_config()` will be called through `_theme_remove()`.

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

Fixes https://github.com/odoo/upgrade/pull/3048
task-2593407
opw-2680866
opw-2685951
opw-2685124
opw-2679040

closes odoo/design-themes#548

X-original-commit: 9a289ea574
Related: odoo/odoo#81953
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2021-12-28 11:47:07 +00:00
xlu-odoo bcb74695ed [FIX] theme_*: fix svg previews readability on safari
In Safari (14+) the CSS workaround to make block "readable" over any bg
is broken. By replacing the current CSS workaround by an appropriate
SVG filter in each themes svg, the problem will be fixed.
This commit will add the svg filter.

task-2667028

closes odoo/design-themes#538

X-original-commit: 545cf002ea
Related: odoo/odoo#81190
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-12-14 10:54:44 +00:00
Martin Trigaux 99a3c80a00 [I18N] *: export source terms
closes odoo/design-themes#543

X-original-commit: 7d05d98ab3
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-12-13 13:17:53 +00:00
stefanorigano (SRI) ad1bac9096 [REF] theme_*: inject theme's preferred palette into ui
This commit injects for each theme a "preferred" palette into the
website's UI palette list ("Theme" tab).
It also removes '$o-palette-priority-prefix' overrides, letting website
handling the palettes order.

task-2656337

closes odoo/design-themes#514

X-original-commit: 0539787e23
Related: odoo/odoo#77857
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-10-05 14:17:51 +00:00
Sébastien Mottet (oms) 57e1e285b8 [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#510

X-original-commit: 285d413a44
Related: odoo/odoo#77550
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2021-09-30 17:12:08 +00:00
qsm-odoo a6529ea67b [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#507

X-original-commit: f244035809
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-09-28 09:29:25 +00:00
Design 7a9597405b [FIX] theme_*: move svg preview from iap to design-themes repo
closes odoo/design-themes#503

X-original-commit: f2453983a7
Related: odoo/odoo#77199
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-09-27 07:12:05 +00:00
Brieuc-brd decfd19652 [REF] theme_notes: remove outdated theme description
task-2590454

X-original-commit: 3ba172b8bd
Part-of: odoo/design-themes#501
2021-09-24 11:09:50 +00:00