From 08f6c48fae4b3b4937ca2d0b0379051ae253655a Mon Sep 17 00:00:00 2001 From: Mist Date: Sun, 17 Mar 2024 18:53:22 +0800 Subject: [PATCH] [Feat] add new bg color named dusk --- generator/src/components/background.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/generator/src/components/background.rs b/generator/src/components/background.rs index 50efcce..56c2b6e 100644 --- a/generator/src/components/background.rs +++ b/generator/src/components/background.rs @@ -103,12 +103,12 @@ impl Background { GradientStop::new(0.95, Color::from_rgba8(116, 185, 255, 255)), ], "bamboo" => vec![ - GradientStop::new(0.1, Color::from_rgba8(107, 203, 165, 255)), - GradientStop::new(95., Color::from_rgba8(202, 244, 194, 255)), + GradientStop::new(0.22, Color::from_rgba8(107, 203, 165, 255)), + GradientStop::new(0.95, Color::from_rgba8(202, 244, 194, 255)), ], "dusk" => vec![ - GradientStop::new(0.2, Color::from_rgba8(224, 103, 76, 255)), - GradientStop::new(95., Color::from_rgba8(253, 175, 25, 255)), + GradientStop::new(0.22, Color::from_rgba8(255, 98, 110, 255)), + GradientStop::new(0.95, Color::from_rgba8(255, 190, 113, 255)), ], _ => return Err(RenderError::UnknownBackgroundTheme(theme.to_string())), };