Fix CSS variables: use daisyUI classes (bg-base-*, text-base-content/*) which wrap OKLCH values in proper oklch() function
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
<div id="artist-list" hx-swap-oob="true">
|
||||
{#if artists.isEmpty()}
|
||||
<div style="background:#242830;border:1px solid #111316;border-radius:0.5rem;padding:2.5rem;text-align:center">
|
||||
<svg class="icon-lg" style="margin:0 auto 0.75rem;color:var(--bc);opacity:0.15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
|
||||
<div class="bg-base-100" style="border:1px solid var(--fallback-b3,oklch(var(--b3)/1));border-radius:0.5rem;padding:2.5rem;text-align:center">
|
||||
<svg class="icon-lg text-base-content/20" style="margin:0 auto 0.75rem" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/>
|
||||
</svg>
|
||||
<p style="font-size:1.125rem;font-weight:500;color:var(--bc);opacity:0.6">No artists tracked yet</p>
|
||||
<p style="font-size:0.875rem;color:var(--bc);opacity:0.4;margin-top:0.25rem">Search for artists using the search bar above</p>
|
||||
<p class="text-lg font-medium text-base-content/60">No artists tracked yet</p>
|
||||
<p class="text-sm text-base-content/40 mt-2">Search for artists using the search bar above</p>
|
||||
</div>
|
||||
{#else}
|
||||
<div class="overflow-x-auto rounded-box border border-base-300">
|
||||
<table class="table table-pin-rows">
|
||||
<thead>
|
||||
<tr style="background:#1a1d23">
|
||||
<tr style="background:var(--fallback-b2,oklch(var(--b2)/1))">
|
||||
<th>Artist</th>
|
||||
<th>Since</th>
|
||||
<th>Release Types</th>
|
||||
@@ -20,14 +20,14 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
{#for artist in artists}
|
||||
<tr style="transition:background 0.15s" onmouseover="this.style.background='#242830'" onmouseout="this.style.background=''">
|
||||
<tr style="transition:background 0.15s" onmouseover="this.style.background='var(--fallback-b2,oklch(var(--b2)/1))'" onmouseout="this.style.background=''">
|
||||
<td>
|
||||
<div style="font-weight:500">{artist.name}</div>
|
||||
{#if artist.disambiguation}
|
||||
<div style="font-size:0.75rem;color:var(--bc);opacity:0.5">{artist.disambiguation}</div>
|
||||
<div class="text-xs text-base-content/50">{artist.disambiguation}</div>
|
||||
{/if}
|
||||
</td>
|
||||
<td style="font-size:0.875rem;color:var(--bc);opacity:0.5">{artist.createdAt}</td>
|
||||
<td class="text-sm text-base-content/50">{artist.createdAt}</td>
|
||||
<td>
|
||||
<div style="display:flex;flex-wrap:wrap;gap:0.375rem">
|
||||
<label class="label cursor-pointer gap-1 p-1">
|
||||
@@ -60,7 +60,7 @@
|
||||
hx-patch="/api/artists/{artist.mbid}/monitor?type=broadcast"
|
||||
hx-target="#artist-list"
|
||||
hx-swap="innerHTML">
|
||||
<span class="label-text text-xs" style="color:var(--bc);opacity:0.6">Broadcast</span>
|
||||
<span class="label-text text-xs text-base-content/60">Broadcast</span>
|
||||
</label>
|
||||
<label class="label cursor-pointer gap-1 p-1">
|
||||
<input type="checkbox" class="checkbox checkbox-xs"
|
||||
@@ -68,7 +68,7 @@
|
||||
hx-patch="/api/artists/{artist.mbid}/monitor?type=other"
|
||||
hx-target="#artist-list"
|
||||
hx-swap="innerHTML">
|
||||
<span class="label-text text-xs" style="color:var(--bc);opacity:0.6">Other</span>
|
||||
<span class="label-text text-xs text-base-content/60">Other</span>
|
||||
</label>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user