mirror of
https://tangled.org/evan.jarrett.net/at-container-registry
synced 2026-09-10 04:06:06 +00:00
appview: apply the mockup-code contrast fix to the seamark theme
606338bfixed the hero tagline in pkg/appview/templates, but seamark.dev renders themes/seamark/templates/components/hero.html, a May fork of that file that already carried `text-base-content/65` at the time. So the commit titled "fix mockup-code contrast in both themes" measured and corrected a file the deployed theme never loads, and the tagline stayed dimmed. The /65 also lands differently depending on how the theme was chosen. The page only stamps data-theme once someone picks a theme explicitly, and the explicit-light palette differs from the system-light default. Measured on the live page with axe 4.10.2: system default 4.99:1 (passing by 0.49), explicit light 4.20:1 (failing), explicit dark 5.99:1. That gap is why a clean Lighthouse profile reported color-contrast clean while a browser with the toggle set to Light reported the failure. Dropping the class puts the tagline at full base-content, same as the two command lines above it: 14.02:1 system, 10.85:1 explicit light, 12.01:1 dark. The gutter `#` is untouched and stays de-emphasized at 70% via the unlayered rule from606338b. Templates are embedded, so this needs an appview rebuild to ship. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0124r73LT4qoFE82TqwH2Gu9
This commit is contained in:
co-authored by
Claude Opus 5
parent
cbd0c5f05c
commit
74778bdd05
@@ -18,7 +18,7 @@
|
||||
<div class="mockup-code bg-base-300 text-base-content text-left w-full max-w-lg text-base mt-8">
|
||||
<pre data-prefix="$"><code>docker login {{ .RegistryURL }}</code></pre>
|
||||
<pre data-prefix="$"><code>docker push {{ .RegistryURL }}/you/app</code></pre>
|
||||
<pre data-prefix="#" class="text-base-content/65"><code>same docker, decentralized</code></pre>
|
||||
<pre data-prefix="#"><code>same docker, decentralized</code></pre>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-center gap-4 mt-8">
|
||||
|
||||
Reference in New Issue
Block a user