Skip to content

Commit

Permalink
[Feat] add MEI theme color with ♥️ (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
mistricky authored Dec 2, 2024
1 parent f1f0cbd commit 6e06044
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"window": {
"mac_window_bar": false,
"mac_window_bar": true,
"shadow": 20,
"margin": {
"x": 82,
Expand Down Expand Up @@ -28,7 +28,7 @@
"stops": [
{
"position": 0,
"color": "#ff0000"
"color": "#6bcba5"
},
{
"position": 1,
Expand Down
19 changes: 19 additions & 0 deletions core/src/preset_background.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,22 @@ pub static DUSK: Lazy<Background> = Lazy::new(|| {
],
})
});

pub static MEI: Lazy<Background> = Lazy::new(|| {
Background::Gradient(LinearGradient {
start: GradientPoint {
x: DimensionValue::Num(0.),
y: DimensionValue::Num(0.),
},
end: GradientPoint {
x: DimensionValue::Max,
y: DimensionValue::Max,
},
stops: vec![
LinearGradientStop::new(0., "#EBECB2"),
LinearGradientStop::new(0.28, "#F3B0F7"),
LinearGradientStop::new(0.73, "#92B5F0"),
LinearGradientStop::new(0.94, "#AEF0F8"),
],
})
});

0 comments on commit 6e06044

Please sign in to comment.