From 65716c9e07ee9025c9c6eb189e8f1804e0af3ad9 Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Fri, 23 Jan 2026 18:11:07 -0600 Subject: [PATCH] style(artist): restructure header per design specs - Move action buttons below Similar Artists section - Remove images from Similar Artists (text-only with bullet separators) - Remove solid background from biography - Add thin font weight (300) to bio area - Update Similar Artists to uppercase title with letter-spacing --- .../components/views/ArtistDetailView.svelte | 155 +++++++----------- 1 file changed, 63 insertions(+), 92 deletions(-) diff --git a/src/lib/components/views/ArtistDetailView.svelte b/src/lib/components/views/ArtistDetailView.svelte index e56b7cb14..8c64efba5 100644 --- a/src/lib/components/views/ArtistDetailView.svelte +++ b/src/lib/components/views/ArtistDetailView.svelte @@ -771,7 +771,7 @@
- +
{#if imageError || !artist.image} @@ -789,35 +789,6 @@ /> {/if}
-
- - -
@@ -851,34 +822,54 @@
Loading similar artists...
{:else if similarArtists.length > 0}
-
Similar Artists
+
SIMILAR ARTISTS
- {#each similarArtists as similar} + {#each similarArtists as similar, index} + {#if index > 0} + • + {/if} {/each}
{/if} + + +
+ + +
@@ -1496,7 +1487,7 @@ .artist-actions { display: flex; gap: 12px; - justify-content: center; + margin-top: 20px; } .artist-info { @@ -1609,17 +1600,15 @@ .biography { max-width: 100%; - padding: 16px; - background: var(--bg-secondary); - border-radius: 12px; - margin-bottom: 4px; + margin-bottom: 16px; + font-weight: 300; } .bio-text { font-size: 14px; line-height: 1.7; color: var(--text-secondary); - margin-bottom: 8px; + font-weight: 300; } .bio-text :global(p) { @@ -1635,7 +1624,7 @@ align-items: center; gap: 4px; font-size: 13px; - font-weight: 500; + font-weight: 400; color: var(--accent-primary); background: none; border: none; @@ -1651,9 +1640,8 @@ .bio-source { font-size: 11px; color: var(--text-muted); - margin-top: 12px; - padding-top: 12px; - border-top: 1px solid var(--bg-tertiary); + margin-top: 8px; + font-weight: 300; } .jump-nav { @@ -1893,8 +1881,11 @@ } .similar-title { - font-size: 12px; + font-size: 11px; + font-weight: 600; color: var(--text-muted); + text-transform: uppercase; + letter-spacing: 0.08em; margin-bottom: 8px; } @@ -1907,49 +1898,29 @@ .similar-list { display: flex; flex-wrap: wrap; - gap: 10px; + align-items: center; + gap: 4px; + } + + .similar-separator { + color: var(--text-muted); + font-size: 10px; + user-select: none; } .similar-artist { - display: inline-flex; - align-items: center; - gap: 8px; - font-size: 12px; - color: var(--text-secondary); + font-size: 14px; + font-weight: 500; + color: var(--text-primary); background: none; border: none; cursor: pointer; - padding: 4px 8px; - border-radius: 16px; - transition: background-color 150ms ease, color 150ms ease; + padding: 2px 4px; + transition: color 150ms ease; } .similar-artist:hover { - background-color: var(--bg-tertiary); - color: var(--text-primary); - } - - .similar-avatar { - width: 25px; - height: 25px; - border-radius: 50%; - object-fit: cover; - flex-shrink: 0; - } - - .similar-avatar.placeholder { - display: inline-flex; - align-items: center; - justify-content: center; - background-color: var(--bg-tertiary); - color: var(--text-muted); - } - - .similar-name { - max-width: 140px; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; + color: var(--accent-primary); } .divider {