From e9699d2bc30f5a6d3c2c9beefe5fcf6ee618e8c3 Mon Sep 17 00:00:00 2001 From: "Chrysanthe (chgo)" Date: Wed, 18 Sep 2024 15:16:01 +0200 Subject: [PATCH] [FIX] theme_*: fix `s_cover` text readability This commit fixes a readability issue on the `s_cover` snippet. Prior to this commit, the background was set to `o_cc4` which was quite arbitrary, but could also create readability issues in some case. As the image has a black filter on top of it, setting the `o_cc` class to `o_cc5` will ensure a readable text no matter the theme/industry. task-4190912 Part-of: odoo/design-themes#919 Related: odoo/odoo#180736 Signed-off-by: Benjamin Vray (bvr) Signed-off-by: Quentin Smetz (qsm) --- theme_artists/views/snippets/s_cover.xml | 4 ++-- theme_avantgarde/views/new_page_template.xml | 12 ++++++------ theme_beauty/views/snippets/s_cover.xml | 2 +- theme_bewise/views/customizations.xml | 2 +- theme_bookstore/views/snippets/s_cover.xml | 2 +- theme_buzzy/views/snippets/s_cover.xml | 2 +- theme_cobalt/views/customizations.xml | 6 ++++++ theme_graphene/views/customizations.xml | 2 +- theme_kiddo/views/snippets/s_cover.xml | 2 +- theme_loftspace/views/snippets/s_cover.xml | 2 +- theme_monglia/views/customizations.xml | 2 +- theme_nano/views/snippets/s_cover.xml | 2 +- theme_paptic/views/customizations.xml | 2 +- 13 files changed, 24 insertions(+), 18 deletions(-) diff --git a/theme_artists/views/snippets/s_cover.xml b/theme_artists/views/snippets/s_cover.xml index fcb752c03..fbb934927 100644 --- a/theme_artists/views/snippets/s_cover.xml +++ b/theme_artists/views/snippets/s_cover.xml @@ -5,11 +5,11 @@ - {"shape":"web_editor/Floats/02","flip":[]} + {'shape':'web_editor/Floats/02','colors':{'c1':'o-color-1','c2':'o-color-1'},'flip':[]} -
+
diff --git a/theme_avantgarde/views/new_page_template.xml b/theme_avantgarde/views/new_page_template.xml index 103081ae0..d2d585417 100644 --- a/theme_avantgarde/views/new_page_template.xml +++ b/theme_avantgarde/views/new_page_template.xml @@ -36,7 +36,7 @@ @@ -44,19 +44,19 @@ @@ -64,7 +64,7 @@ @@ -80,7 +80,7 @@ diff --git a/theme_beauty/views/snippets/s_cover.xml b/theme_beauty/views/snippets/s_cover.xml index 7f2a85975..5228b40db 100644 --- a/theme_beauty/views/snippets/s_cover.xml +++ b/theme_beauty/views/snippets/s_cover.xml @@ -4,7 +4,7 @@