Replace all CSS variables with explicit hex colors for guaranteed distinction

This commit is contained in:
2026-07-03 12:59:35 +02:00
parent 41f42acd91
commit 5eb4cd340c
4 changed files with 13 additions and 13 deletions
@@ -1,5 +1,5 @@
{#if entries.isEmpty()}
<div style="background:color-mix(in srgb,var(--b1),white 8%);border:1px solid var(--b3);border-radius:0.5rem;padding:3rem;text-align:center">
<div style="background:#242830;border:1px solid #111316;border-radius:0.5rem;padding:3rem;text-align:center">
<p style="font-size:1.125rem;color:var(--bc);opacity:0.6">No releases found</p>
<p style="font-size:0.875rem;color:var(--bc);opacity:0.4;margin-top:0.5rem">Add artists to your collection to see their releases here</p>
</div>
@@ -7,10 +7,10 @@
<div style="display:flex;flex-direction:column;gap:1.5rem">
{#for entry in entries}
<a href="https://musicbrainz.org/release-group/{entry.mbid}" target="_blank" rel="noopener noreferrer"
style="display:flex;text-decoration:none;background:color-mix(in srgb,var(--b1),white 8%);border:1px solid var(--b3);border-radius:0.5rem;overflow:hidden;transition:background 0.15s"
onmouseover="this.style.background='color-mix(in srgb,var(--b1),black 20%)'"
onmouseout="this.style.background='color-mix(in srgb,var(--b1),white 8%)'">
<div style="width:250px;height:250px;flex-shrink:0;overflow:hidden;background:var(--b3)">
style="display:flex;text-decoration:none;background:#242830;border:1px solid #111316;border-radius:0.5rem;overflow:hidden;transition:background 0.15s"
onmouseover="this.style.background='#0d0f12'"
onmouseout="this.style.background='#242830'">
<div style="width:250px;height:250px;flex-shrink:0;overflow:hidden;background:#0d0f12">
<img src="https://coverartarchive.org/release-group/{entry.mbid}/front-250"
alt="{entry.title}" style="width:100%;height:100%;object-fit:cover;display:block"
loading="lazy"