Skip to content

Commit 03da0a1

Browse files
committed
Tweaked palette picker
1 parent 108170a commit 03da0a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main/src/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ Vibrant.from('/static/logo-large.png').getPalette().then(function (palette) {
2323
var muted = null
2424
console.log(palette)
2525
try {
26-
vibrant = palette.Vibrant.getHex()
27-
} catch (e) {
2826
vibrant = palette.LightVibrant.getHex()
27+
} catch (e) {
28+
vibrant = palette.Vibrant.getHex()
2929
}
3030
try {
3131
muted = palette.Muted.getHex()

0 commit comments

Comments
 (0)