mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-19 08:36:09 +00:00
Print color: the sample's Dusk Gradient stops name their swatches
This commit is contained in:
1 parent
905e33d546
commit
ab568de0de
1 file changed
+4
-1
@@ -127,7 +127,10 @@ fn build() -> designcraft_doc::Result<Document> {
|
||||
value: SwatchValue::Gradient {
|
||||
gradient: Gradient {
|
||||
kind: GradientKind::Linear,
|
||||
stops: vec![GradientStop::new(0.0, Color::cmyk(0.62, 0.95, 0.30, 0.25)), GradientStop::new(1.0, Color::cmyk(0.0, 0.62, 0.78, 0.0))],
|
||||
stops: vec![
|
||||
GradientStop { swatch: Some("Ink Plum".into()), ..GradientStop::new(0.0, Color::cmyk(0.62, 0.95, 0.30, 0.25)) },
|
||||
GradientStop { swatch: Some("Sunset".into()), ..GradientStop::new(1.0, Color::cmyk(0.0, 0.62, 0.78, 0.0)) },
|
||||
],
|
||||
},
|
||||
},
|
||||
locked: false,
|
||||
|
||||
Reference in new issue
Block a user