style(design): consistency sweep + UX upgrades
Deploy / verify (push) Successful in 49s
Deploy / deploy (push) Successful in 1m0s

- Palette: gray/zinc/slate/neutral → stein, red → fire, amber → erde,
  sky → himmel, green → wald
- Footer: replaced raw rgb with stein tokens
- Radius: unified to rounded-xs across cards, buttons, inputs, pagination
- Buttons: .btn-primary/.btn-secondary now font-medium; added secondary
- Card hover: -translate-y-0.5 + shadow + wald-300 border
- Header active link: wald border-bottom + wald-700 text
- Mobile nav: bigger touch targets + wald active accent
- Pagination: prev/next text labels + wald-500 active state with
  separated shape/color classes to avoid Tailwind conflicts
- Lead paragraph: scoped .markdown > p:first-child for top-level
  MarkdownBlock only via [data-block-type="markdown"]
- Section dividers: subtle wald-200 gradient between content rows
- Global focus-visible ring (wald-500)
- Inline hex → palette tokens (Badge amber, Tag custom-color contrast)
- Font weights snapped to design system (300/400/500/600/700)
- transition-all → transition-colors where only color changes
- Removed em-dashes from user-visible templates

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Peter Meier
2026-05-05 01:06:22 +02:00
parent 3ded972642
commit b7093b703a
42 changed files with 280 additions and 234 deletions
@@ -81,7 +81,7 @@
{/if}
{#if quotes.length === 0}
<p class="text-sm text-zinc-500 italic">Keine Zitate vorhanden.</p>
<p class="text-sm text-stein-500 italic">Keine Zitate vorhanden.</p>
{:else}
<div class="flex items-center gap-1.5 sm:gap-2">
{#if showArrows && quotes.length > 1}
@@ -89,7 +89,7 @@
type="button"
onclick={prev}
aria-label="Vorheriges Zitat"
class="shrink-0 inline-flex items-center justify-center size-7 rounded-full bg-white/90 border border-zinc-200 shadow-sm hover:bg-white hover:border-green-700 transition"
class="shrink-0 inline-flex items-center justify-center size-7 rounded-full bg-white/90 border border-stein-200 shadow-sm hover:bg-white hover:border-wald-700 transition"
>
<Icon icon="mdi:chevron-left" class="size-4" aria-hidden="true" />
</button>
@@ -113,7 +113,7 @@
type="button"
onclick={next}
aria-label="Nächstes Zitat"
class="shrink-0 inline-flex items-center justify-center size-7 rounded-full bg-white/90 border border-zinc-200 shadow-sm hover:bg-white hover:border-green-700 transition"
class="shrink-0 inline-flex items-center justify-center size-7 rounded-full bg-white/90 border border-stein-200 shadow-sm hover:bg-white hover:border-wald-700 transition"
>
<Icon icon="mdi:chevron-right" class="size-4" aria-hidden="true" />
</button>
@@ -130,8 +130,8 @@
aria-label={`Zitat ${i + 1}`}
onclick={() => goTo(i)}
class="size-2 rounded-full transition-colors {i === index
? 'bg-green-700'
: 'bg-zinc-300 hover:bg-zinc-400'}"
? 'bg-wald-700'
: 'bg-stein-300 hover:bg-stein-400'}"
></button>
{/each}
</div>