From b59b93625af7a00905ed3f78f6c7e43b2e2a7f76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vuka=C5=A1in=20Vojinovi=C4=87?= <150025636+git-f0x@users.noreply.github.com> Date: Thu, 4 Jul 2024 00:59:52 +0200 Subject: [PATCH] fix(wallpaper): fix gradient direction Also adds one missing gradient present in the designs. --- pages/wallpapers/src/lib.rs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pages/wallpapers/src/lib.rs b/pages/wallpapers/src/lib.rs index 7ef399e..c92eb7d 100644 --- a/pages/wallpapers/src/lib.rs +++ b/pages/wallpapers/src/lib.rs @@ -28,19 +28,23 @@ pub const DEFAULT_COLORS: &[Color] = &[ Color::Single([0.584, 0.769, 0.988]), Color::Gradient(Gradient { colors: Cow::Borrowed(&[[1.000, 0.678, 0.000], [0.282, 0.725, 0.78]]), - radius: 270.0, + radius: 180.0, }), Color::Gradient(Gradient { colors: Cow::Borrowed(&[[1.000, 0.843, 0.631], [0.58, 0.922, 0.922]]), - radius: 270.0, + radius: 180.0, }), Color::Gradient(Gradient { colors: Cow::Borrowed(&[[1.000, 0.612, 0.867], [0.976, 0.29, 0.514]]), - radius: 270.0, + radius: 180.0, }), Color::Gradient(Gradient { colors: Cow::Borrowed(&[[0.584, 0.769, 0.988], [0.063, 0.165, 0.298]]), - radius: 270.0, + radius: 180.0, + }), + Color::Gradient(Gradient { + colors: Cow::Borrowed(&[[0.969, 0.878, 0.384], [0.333, 0.278, 0.259]]), + radius: 180.0, }), ];