From 845c9365be4c96aaf972a519a0181671a96e75b7 Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Tue, 28 Nov 2023 04:44:17 +0900 Subject: [PATCH] fix(album-color-theme): sidebar color --- src/plugins/album-color-theme/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/album-color-theme/index.ts b/src/plugins/album-color-theme/index.ts index 58ba7d7e..a040bfa4 100644 --- a/src/plugins/album-color-theme/index.ts +++ b/src/plugins/album-color-theme/index.ts @@ -119,6 +119,9 @@ export default createPlugin({ .then((albumColor) => { if (albumColor) { const [hue, saturation, lightness] = this.hexToHSL(albumColor.hex); + this.hue = hue; + this.saturation = saturation; + this.lightness = lightness; this.changeElementColor(this.playerPage, hue, saturation, lightness - 30); this.changeElementColor(this.navBarBackground, hue, saturation, lightness - 15); this.changeElementColor(this.ytmusicPlayerBar, hue, saturation, lightness - 15);