From bce7e21564431685438cc81a527cfbd81780efbe Mon Sep 17 00:00:00 2001 From: "Chrysanthe (chgo)" Date: Sun, 22 Sep 2024 17:38:16 +0200 Subject: [PATCH] [FIX] theme_*: fix `s_big_number` wrong gradient implementation *: anelusia, artists, avantgarde, aviato, beauty, bewise, monglia, vehicle This commit aims to fix a wrong implementation of gradients on the `s_big_number` snippet within the context of the web editor. Prior to this commit, the `s_big_number` snippet was using a gradient composed of the right color, but being declared as `RGB` values. While this is working as expected and looking like it uses the right `--o-color-*`, it's indeed working with the specific color applied in first place. If a user changes the color palette of the website, the snippet will look terrible as it doesn't adapt to the new palette. This commit fixes the issue by using the right implementation with CSS variables. task-4202371 --- theme_anelusia/views/snippets/s_big_number.xml | 2 +- theme_artists/views/snippets/s_big_number.xml | 2 +- theme_avantgarde/views/customizations.xml | 2 +- theme_aviato/views/snippets/s_big_number.xml | 2 +- theme_beauty/views/snippets/s_big_number.xml | 2 +- theme_bewise/views/customizations.xml | 2 +- theme_monglia/views/customizations.xml | 2 +- theme_vehicle/views/customizations.xml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/theme_anelusia/views/snippets/s_big_number.xml b/theme_anelusia/views/snippets/s_big_number.xml index 4fd3a4f50f..a6de02147c 100644 --- a/theme_anelusia/views/snippets/s_big_number.xml +++ b/theme_anelusia/views/snippets/s_big_number.xml @@ -14,7 +14,7 @@ - + 100+ diff --git a/theme_artists/views/snippets/s_big_number.xml b/theme_artists/views/snippets/s_big_number.xml index c473da6f05..b2d79a4b00 100644 --- a/theme_artists/views/snippets/s_big_number.xml +++ b/theme_artists/views/snippets/s_big_number.xml @@ -17,7 +17,7 @@ - + 250+ diff --git a/theme_avantgarde/views/customizations.xml b/theme_avantgarde/views/customizations.xml index 7ef63a644f..58457ebbdc 100644 --- a/theme_avantgarde/views/customizations.xml +++ b/theme_avantgarde/views/customizations.xml @@ -556,7 +556,7 @@ - + 50+ diff --git a/theme_aviato/views/snippets/s_big_number.xml b/theme_aviato/views/snippets/s_big_number.xml index ece1499699..1b9613a943 100644 --- a/theme_aviato/views/snippets/s_big_number.xml +++ b/theme_aviato/views/snippets/s_big_number.xml @@ -18,7 +18,7 @@ - 100+ + 100+ destinations available diff --git a/theme_beauty/views/snippets/s_big_number.xml b/theme_beauty/views/snippets/s_big_number.xml index 4b1246c774..295eb95c44 100644 --- a/theme_beauty/views/snippets/s_big_number.xml +++ b/theme_beauty/views/snippets/s_big_number.xml @@ -18,7 +18,7 @@ - 200+ + 200+ happy customers diff --git a/theme_bewise/views/customizations.xml b/theme_bewise/views/customizations.xml index 161683f8b3..9f3a43ff4f 100644 --- a/theme_bewise/views/customizations.xml +++ b/theme_bewise/views/customizations.xml @@ -878,7 +878,7 @@ - 60+ + 60+ academic programs available diff --git a/theme_monglia/views/customizations.xml b/theme_monglia/views/customizations.xml index 6930efb86d..4ecbe4a534 100644 --- a/theme_monglia/views/customizations.xml +++ b/theme_monglia/views/customizations.xml @@ -649,7 +649,7 @@ - + 250+ diff --git a/theme_vehicle/views/customizations.xml b/theme_vehicle/views/customizations.xml index 69a1bab4be..5887535627 100644 --- a/theme_vehicle/views/customizations.xml +++ b/theme_vehicle/views/customizations.xml @@ -724,7 +724,7 @@ - + 87%