From 28d977631f8d240074b9a6a0852e714a751a7f87 Mon Sep 17 00:00:00 2001 From: Julien Maille Date: Fri, 23 Jul 2021 20:15:33 +0200 Subject: [PATCH] FIX: #25 reduce number of colors extracted from album art --- dribbblish-dynamic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dribbblish-dynamic.js b/dribbblish-dynamic.js index cb7cd54..2400460 100644 --- a/dribbblish-dynamic.js +++ b/dribbblish-dynamic.js @@ -248,7 +248,7 @@ async function songchange() { Spicetify.Player.addEventListener("songchange", songchange) function pickCoverColor(img) { - var swatches = new Vibrant(img, 12).swatches() + var swatches = new Vibrant(img, 5).swatches() cols = isLight(mainColorBg) ? ["Vibrant", "DarkVibrant", "Muted", "LightVibrant"] : ["Vibrant", "LightVibrant", "Muted", "DarkVibrant"] mainColor = "#509bf5"