mirror of
https://github.com/bitbaum/solon.git
synced 2026-12-06 00:58:20 +01:00
* fix(auth): sign-in control visible on first paint The loading branch rendered an empty placeholder, and SSR is always in the loading state — so the nav's sign-in control was invisible until the client-side session fetch finished. Default to the signed-out button instead: most visitors are signed out, and a signed-in user just sees it swap to their name. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * design(solon): one visual language across OrangeCat, FleetCrown and Solon Solon looked like a different company: a light, blue-tinted site next to two dark, orange-accented ones. The type system was already shared with OrangeCat (Inter + Space Grotesk, same sizes, same nav height) — the divergence was the colour canvas and the chrome around it. Token SSOT now uses OrangeCat's vocabulary verbatim — same names, same values, in HSL channels so alpha composes: --surface-public/page/base/raised/overlay, --text-primary/secondary/tertiary, --border-subtle/default/strong/interactive, --public-accent (#ff5c00), --tracking-display/label/caps, --shell-max, --public-nav-height, --radius-control/surface. Solon's private palette (--navy*, --solon-*) is deleted, not aliased, so any leftover usage fails the build instead of quietly rendering the old look. The accent orange was #f97316 here and #ff5c00 on the other two — one value now. Chrome: - Hero is full-bleed over a shared backdrop (accent glow + masked grid, the same effect FleetCrown uses) instead of a navy rectangle floating in a gutter. The root layout no longer wraps every page in a container; sections own their width via .section-shell, which is why the box existed. - Headline is the proposition, not the wordmark — the brand is already in the nav, exactly as on both siblings. No copy was rewritten: the existing tagline key moves to <h1>, so all four languages still work. - Nav adopts the shared 76px height, translucent-over-canvas, accent CTA. - Footer, cards, logo badge and the auth error card follow the same primitives. - Mono is IBM Plex Mono (OrangeCat's) — a Bitcoin address should look the same on both sites. Two latent bugs fixed on the way: - Every shadow utility pointed at --shadow-* vars that were never defined, so `shadow-sm` rendered nothing. Removed; hierarchy is border + type. - THEME in site-config.ts was a second, unused theme definition in TypeScript. The design gate now fails on the legacy palette, on max-w-7xl, and on raw radius/shadow utilities, so this cannot drift back. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>