fix(web): all accent text and icons use accent-fg (#5318)
release / govulncheck (push) Successful in 17s
release / web (push) Successful in 1m11s
release / go (push) Successful in 1m26s
release / integration (push) Successful in 4m18s
release / android (push) Successful in 4m44s
release / Build signed APK (releases and dev) (push) Successful in 4m53s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 26s
release / Verify release artifacts (tag releases only) (push) Skipped
release / govulncheck (push) Successful in 17s
release / web (push) Successful in 1m11s
release / go (push) Successful in 1m26s
release / integration (push) Successful in 4m18s
release / android (push) Successful in 4m44s
release / Build signed APK (releases and dev) (push) Successful in 4m53s
release / Attach APK to the Release (tag releases only) (push) Skipped
release / Build + push container image (push) Successful in 26s
release / Verify release artifacts (tag releases only) (push) Skipped
The raw accent fails AA as text on every dark surface, not only on its own tint: 3.04:1 on the page, 2.70 on iron, 2.21 on slate, against 4.5. accent-fg (the house formula, 45% toward parchment) measures 5.62 at worst across both modes. The operator chose the readable colour over the signature teal for text, on 2026-10-08. - 36 sites swap. They are 35 Tailwind uses: links, "Now playing", the ingest progress line, active shuffle/repeat, the liked heart, the app download icon and its hover. The last is the alphabet rail's pending spinner in CSS. Icons follow the text: as graphics they need only 3:1, and the raw accent misses even that on iron. - check-tint-contrast adds accent to TEXT_NEVER_RAW, so a new raw text-accent or color: var(--fs-accent) fails the web lane. Run against the files before the swap, it finds all 36. Borders, rings and fills keep the raw accent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
<p class="text-text-secondary">
|
||||
No albums in your loaded library match
|
||||
<span class="font-medium">'{filter.trim()}'</span>.
|
||||
<a href={`/search/albums?q=${encodeURIComponent(filter.trim())}`} class="text-accent hover:underline">
|
||||
<a href={`/search/albums?q=${encodeURIComponent(filter.trim())}`} class="text-accent-fg hover:underline">
|
||||
Search the full library →
|
||||
</a>
|
||||
</p>
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
<p class="text-text-secondary">
|
||||
No artists in your loaded library match
|
||||
<span class="font-medium">'{filter.trim()}'</span>.
|
||||
<a href={`/search/artists?q=${encodeURIComponent(filter.trim())}`} class="text-accent hover:underline">
|
||||
<a href={`/search/artists?q=${encodeURIComponent(filter.trim())}`} class="text-accent-fg hover:underline">
|
||||
Search the full library →
|
||||
</a>
|
||||
</p>
|
||||
|
||||
@@ -112,7 +112,7 @@
|
||||
<header class="space-y-2">
|
||||
<a
|
||||
href="/library/genres"
|
||||
class="inline-flex items-center gap-1 text-sm text-accent hover:underline"
|
||||
class="inline-flex items-center gap-1 text-sm text-accent-fg hover:underline"
|
||||
>
|
||||
<ChevronLeft size={14} aria-hidden="true" />
|
||||
All genres
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
title="No liked artists yet."
|
||||
>
|
||||
{#snippet actions()}
|
||||
<a href="/library/artists" class="text-accent hover:underline">Browse artists →</a>
|
||||
<a href="/library/artists" class="text-accent-fg hover:underline">Browse artists →</a>
|
||||
{/snippet}
|
||||
</EmptyState>
|
||||
{:else}
|
||||
@@ -121,7 +121,7 @@
|
||||
title="No liked albums yet."
|
||||
>
|
||||
{#snippet actions()}
|
||||
<a href="/library/albums" class="text-accent hover:underline">Browse albums →</a>
|
||||
<a href="/library/albums" class="text-accent-fg hover:underline">Browse albums →</a>
|
||||
{/snippet}
|
||||
</EmptyState>
|
||||
{:else}
|
||||
@@ -153,7 +153,7 @@
|
||||
title="No liked tracks yet."
|
||||
>
|
||||
{#snippet actions()}
|
||||
<a href="/" class="text-accent hover:underline">Find something new →</a>
|
||||
<a href="/" class="text-accent-fg hover:underline">Find something new →</a>
|
||||
{/snippet}
|
||||
</EmptyState>
|
||||
{:else}
|
||||
|
||||
@@ -97,7 +97,7 @@
|
||||
<header class="space-y-2">
|
||||
<a
|
||||
href="/library/years"
|
||||
class="inline-flex items-center gap-1 text-sm text-accent hover:underline"
|
||||
class="inline-flex items-center gap-1 text-sm text-accent-fg hover:underline"
|
||||
>
|
||||
<ChevronLeft size={14} aria-hidden="true" />
|
||||
All years
|
||||
|
||||
Reference in New Issue
Block a user