From 4d25e4ece0b72d240bb2565f8abb7389e650990a Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sat, 23 Nov 2024 21:05:11 -0500 Subject: Preview + Unit-tests for color conversions --- cmd/termpicker/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd/termpicker/main.go') diff --git a/cmd/termpicker/main.go b/cmd/termpicker/main.go index 31fe1c3..a6694d4 100644 --- a/cmd/termpicker/main.go +++ b/cmd/termpicker/main.go @@ -22,10 +22,10 @@ func AppAction(ctx *cli.Context) error { // }}} // CYMK {{{ c := slider.New('C', 100, progress.WithGradient("#006666", "#00ffff")) - y := slider.New('Y', 100, progress.WithGradient("#666600", "#ffff00")) m := slider.New('M', 100, progress.WithGradient("#660066", "#ff00ff")) + y := slider.New('Y', 100, progress.WithGradient("#666600", "#ffff00")) k := slider.New('K', 100, progress.WithSolidFill("#000000")) - cmyk := picker.New([]slider.Model{c, y, m, k}, "CMYK") + cmyk := picker.New([]slider.Model{c, m, y, k}, "CMYK") // }}} // HSL {{{ h := slider.New('H', 360, progress.WithDefaultGradient()) -- cgit v1.2.3