fix(album-color-theme): sidebar color

This commit is contained in:
JellyBrick
2023-11-28 04:44:17 +09:00
parent 91cf5f5c25
commit 845c9365be

View File

@ -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);