From 8fd6bdbdf3951e3e06fd93554111eec0eb437535 Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Sat, 30 Sep 2023 15:16:46 +0900 Subject: [PATCH] fix(album-color-theme): use 30 instead of 25 --- plugins/album-color-theme/front.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/album-color-theme/front.ts b/plugins/album-color-theme/front.ts index 7854698b..4c095baa 100644 --- a/plugins/album-color-theme/front.ts +++ b/plugins/album-color-theme/front.ts @@ -77,7 +77,7 @@ export default () => { if (mutation.type === 'attributes') { const isPageOpen = ytmusicAppLayout?.hasAttribute('player-page-open'); if (isPageOpen) { - changeElementColor(sidebarSmall, hue, saturation, lightness - 25); + changeElementColor(sidebarSmall, hue, saturation, lightness - 30); } else { if (sidebarSmall) { sidebarSmall.style.backgroundColor = 'black'; @@ -94,13 +94,13 @@ export default () => { ipcRenderer.on('album-color-changed', (_, albumColor: FastAverageColorResult) => { if (albumColor) { [hue, saturation, lightness] = hexToHSL(albumColor.hex); - changeElementColor(playerPage, hue, saturation, lightness - 25); + changeElementColor(playerPage, hue, saturation, lightness - 30); changeElementColor(navBarBackground, hue, saturation, lightness - 15); changeElementColor(ytmusicPlayerBar, hue, saturation, lightness - 15); changeElementColor(playerBarBackground, hue, saturation, lightness - 15); changeElementColor(sidebarBig, hue, saturation, lightness - 15); if (ytmusicAppLayout?.hasAttribute('player-page-open')) { - changeElementColor(sidebarSmall, hue, saturation, lightness - 25); + changeElementColor(sidebarSmall, hue, saturation, lightness - 30); } const ytRightClickList = document.querySelector('tp-yt-paper-listbox'); changeElementColor(ytRightClickList, hue, saturation, lightness - 15);