From a88c1f57251ae501649a625b59abe3d29465fd80 Mon Sep 17 00:00:00 2001
From: vicrodh <103399283+vicrodh@users.noreply.github.com>
Date: Sat, 24 Jan 2026 11:42:55 -0600
Subject: [PATCH] fix: album card overlay always white, menu icon inherits
color
- AlbumCard overlay buttons: revert to hardcoded white rgba values
(overlay sits on album artwork, blur makes white always visible)
- AlbumMenu icon: use currentColor to inherit from CSS
(allows AlbumDetailView to override for theme-aware color)
---
src/lib/components/AlbumCard.svelte | 6 +++---
src/lib/components/AlbumMenu.svelte | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/lib/components/AlbumCard.svelte b/src/lib/components/AlbumCard.svelte
index d4a439e27..12ae0527a 100644
--- a/src/lib/components/AlbumCard.svelte
+++ b/src/lib/components/AlbumCard.svelte
@@ -344,7 +344,7 @@
width: 38px;
height: 38px;
border-radius: 50%;
- border: 1px solid var(--alpha-85);
+ border: 1px solid rgba(255, 255, 255, 0.85);
background: transparent;
color: white;
display: flex;
@@ -359,7 +359,7 @@
}
.overlay-btn.is-active {
- background-color: var(--alpha-20);
+ background-color: rgba(255, 255, 255, 0.2);
}
.overlay-btn.disabled,
@@ -389,7 +389,7 @@
width: 30px;
height: 30px;
border-radius: 50%;
- border: 1px solid var(--alpha-85);
+ border: 1px solid rgba(255, 255, 255, 0.85);
background: transparent;
color: white;
display: flex;
diff --git a/src/lib/components/AlbumMenu.svelte b/src/lib/components/AlbumMenu.svelte
index bbd296d7c..5fc69d193 100644
--- a/src/lib/components/AlbumMenu.svelte
+++ b/src/lib/components/AlbumMenu.svelte
@@ -243,7 +243,7 @@
}}
aria-label="Album actions"
>
-
+
{#if isOpen && portalTarget}