mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-17 13:12:07 +00:00
fix(album-color-theme): sidebar color
This commit is contained in:
@ -119,6 +119,9 @@ export default createPlugin({
|
|||||||
.then((albumColor) => {
|
.then((albumColor) => {
|
||||||
if (albumColor) {
|
if (albumColor) {
|
||||||
const [hue, saturation, lightness] = this.hexToHSL(albumColor.hex);
|
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.playerPage, hue, saturation, lightness - 30);
|
||||||
this.changeElementColor(this.navBarBackground, hue, saturation, lightness - 15);
|
this.changeElementColor(this.navBarBackground, hue, saturation, lightness - 15);
|
||||||
this.changeElementColor(this.ytmusicPlayerBar, hue, saturation, lightness - 15);
|
this.changeElementColor(this.ytmusicPlayerBar, hue, saturation, lightness - 15);
|
||||||
|
|||||||
Reference in New Issue
Block a user