mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-05-24 12:35:05 +00:00
FIX: #25 reduce number of colors extracted from album art
This commit is contained in:
parent
77f281bd11
commit
28d977631f
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue