From d60776bdd239721af02bb1db7030b7e94ff6c59a Mon Sep 17 00:00:00 2001 From: Benjamin Vray Date: Wed, 4 Sep 2024 11:36:42 +0200 Subject: [PATCH] [FIX] theme_*: fix font style of snippet headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some snippets contain incorrect font style that are not achievable using the editor (for example:

in the "Key benefits" snippet). These snippets were adapted in the community commit linked to this one to align with what the editor would generate if we recreated them from scratch. In this commit, we adapt the themes following the change in community. We also fix a few issues (e.g., wording for the ´s_numbers´ snippet) noticed during the changes. task-4148057 closes odoo/design-themes#895 Related: odoo/odoo#178957 Signed-off-by: Robin Lejeune (role) --- theme_bewise/views/customizations.xml | 9 ++++-- theme_bookstore/views/snippets/s_numbers.xml | 18 +++++++---- theme_graphene/views/customizations.xml | 10 ------ theme_kea/views/snippets/s_numbers.xml | 11 ++++--- theme_notes/views/snippets/s_numbers.xml | 31 ++++++++++++------- .../views/snippets/s_numbers.xml | 12 +++---- .../views/snippets/s_numbers.xml | 16 +++++----- theme_zap/views/new_page_template.xml | 4 +-- theme_zap/views/snippets/s_numbers.xml | 27 ++++++++++------ 9 files changed, 77 insertions(+), 61 deletions(-) diff --git a/theme_bewise/views/customizations.xml b/theme_bewise/views/customizations.xml index 2f5a2579a..09d54d2d9 100644 --- a/theme_bewise/views/customizations.xml +++ b/theme_bewise/views/customizations.xml @@ -124,13 +124,16 @@
- + Faculties - + + 47 + + Nationalities - + Libraries diff --git a/theme_bookstore/views/snippets/s_numbers.xml b/theme_bookstore/views/snippets/s_numbers.xml index eff732664..d42d9d43d 100644 --- a/theme_bookstore/views/snippets/s_numbers.xml +++ b/theme_bookstore/views/snippets/s_numbers.xml @@ -12,14 +12,20 @@
- - Useful options + + Unique references - - Beautiful snippets + + 98% - - Amazing pages + + Happy customers + + + 418 + + + Stores around the world diff --git a/theme_graphene/views/customizations.xml b/theme_graphene/views/customizations.xml index acd423835..ed3a2a8c4 100644 --- a/theme_graphene/views/customizations.xml +++ b/theme_graphene/views/customizations.xml @@ -248,16 +248,6 @@
- - - - - - - - - - diff --git a/theme_kea/views/snippets/s_numbers.xml b/theme_kea/views/snippets/s_numbers.xml index 8f89b9fcf..e3538f3b8 100644 --- a/theme_kea/views/snippets/s_numbers.xml +++ b/theme_kea/views/snippets/s_numbers.xml @@ -6,14 +6,17 @@ - - + + Different lenses - + + 256 + + Storage capacity (GB) - + Number of controllers diff --git a/theme_notes/views/snippets/s_numbers.xml b/theme_notes/views/snippets/s_numbers.xml index ede3d03c3..e54ddb550 100644 --- a/theme_notes/views/snippets/s_numbers.xml +++ b/theme_notes/views/snippets/s_numbers.xml @@ -12,26 +12,33 @@ - - - - - Editions through the Europe + - - + + - - Artists from around the world + + Editions through the Europe - - + + - + + 72 + + + Artists from around the world + + + + + + + Scenes outdoor & indoor diff --git a/theme_odoo_experts/views/snippets/s_numbers.xml b/theme_odoo_experts/views/snippets/s_numbers.xml index 6761bc715..9def5461c 100644 --- a/theme_odoo_experts/views/snippets/s_numbers.xml +++ b/theme_odoo_experts/views/snippets/s_numbers.xml @@ -8,14 +8,14 @@ background-image:url('/web_editor/shape/theme_odoo_experts/s_numbers.svg?c1=o-color-1'); - - 12 + + Useful options - - 45 + + More leads - - 8 + + Amazing pages diff --git a/theme_real_estate/views/snippets/s_numbers.xml b/theme_real_estate/views/snippets/s_numbers.xml index 513910510..63a9c09d8 100644 --- a/theme_real_estate/views/snippets/s_numbers.xml +++ b/theme_real_estate/views/snippets/s_numbers.xml @@ -7,24 +7,24 @@ - + properties already sold - - 14,000 + + 14K - - 97% + + 98% - + happy customers - + 142 - + amazing agents diff --git a/theme_zap/views/new_page_template.xml b/theme_zap/views/new_page_template.xml index 79481a894..f47752282 100644 --- a/theme_zap/views/new_page_template.xml +++ b/theme_zap/views/new_page_template.xml @@ -46,7 +46,7 @@ @@ -59,7 +59,7 @@ diff --git a/theme_zap/views/snippets/s_numbers.xml b/theme_zap/views/snippets/s_numbers.xml index 13ed8c7ba..bdf912635 100644 --- a/theme_zap/views/snippets/s_numbers.xml +++ b/theme_zap/views/snippets/s_numbers.xml @@ -2,28 +2,35 @@