Skip to content

Commit

Permalink
[Feat] add new bg color named dusk
Browse files Browse the repository at this point in the history
  • Loading branch information
mistricky committed Mar 17, 2024
1 parent df5cfa7 commit 843e97d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions generator/src/components/background.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())),
};
Expand Down

0 comments on commit 843e97d

Please sign in to comment.