From 2c21b6fc14c3576b3040cde9b343b1d7f8c2f559 Mon Sep 17 00:00:00 2001 From: nutty Date: Mon, 27 Jul 2026 11:38:09 +1000 Subject: [PATCH] Minor fixes --- now-playing/themes/album-art/script.js | 5 +++-- now-playing/themes/album-art/style.css | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/now-playing/themes/album-art/script.js b/now-playing/themes/album-art/script.js index 68d2cc0..1f906fb 100644 --- a/now-playing/themes/album-art/script.js +++ b/now-playing/themes/album-art/script.js @@ -63,7 +63,8 @@ async function ChangeTrack(mediaProps, accentColorPalette) { const baseColor = accentColorPalette.DarkMuted; // Solid from 0% to 30%, then fading to 0% opacity at 100% textInfoContainer.style.background = `linear-gradient(to top, ${baseColor}FF 0%, ${baseColor}FF 10%, ${baseColor}00 100%)`; - songInfoContainer.style.background = accentColorPalette.LightVibrant; + if (!showAlbumArt) + songInfoContainer.style.background = accentColorPalette.LightVibrant; // Apply text color document.body.style.color = accentColorPalette.LightVibrant; @@ -89,5 +90,5 @@ function SetProgressInfo(timelineProps, currentPositionMs, accentColorPalette) { let progressPercent = durationMs > 0 ? (currentPositionMs / durationMs) * 100 : 0; progressPercent = Math.min(100, Math.max(0, progressPercent)); progressBar.style.width = `${progressPercent}%`; - progressBar.style.setProperty('--accent-color', accentColorPalette.LightVibrant); + progressBar.style.setProperty('--accent-color', `${accentColorPalette.LightVibrant}`); } \ No newline at end of file diff --git a/now-playing/themes/album-art/style.css b/now-playing/themes/album-art/style.css index aba7122..06ddf7b 100644 --- a/now-playing/themes/album-art/style.css +++ b/now-playing/themes/album-art/style.css @@ -31,6 +31,7 @@ background-size: cover; background-position: center; transition: opacity 0.5s ease; + border-radius: var(--border-radius); } #album-art-layer { @@ -83,7 +84,7 @@ background: linear-gradient(to top, #ffffff00, var(--accent-color, #ffffff)); /* background-color: var(--accent-color, #ffffff); */ transition: width 1s ease-in-out, background 1s ease-in-out; - border-radius: 10000px; + /* border-radius: 10000px; */ position: absolute; bottom: 0; left: 0;