Commit Graph

4 Commits

Author SHA1 Message Date
martbost 7c8f204f5a Light and dark themes as token sets (Marty 2026-11-01: a member asked for both, for vision-impaired readers and people who struggle with bright or dark screens)
cr.css and pub.css gain :root[data-theme="dark"]: deep navy workspace (#0B1424 ground, #142338 panels, #1B2D47 panel-2), near-white ink, readable muted, quiet lines, the blue accent and signal orange retuned so text on them and they on the ground clear WCAG AA 4.5:1 (accent-ink/sig-ink/ok-ink/bad-ink/on-ink tokens carry the text colour for each fill), soft fills as dark tints, flatter darker shadows; the chrome rail, topbar and strip stay as they are. site.css (the sapphire pages) gains :root[data-theme="light"]: light ground, white panels, dark ink, the same blue family darkened to read on white, the chrome headline gradient turned blue steel so it still shows.

Audit of stray literals: every raw hex/rgba that encoded a surface, text, border or soft fill in the five stylesheets now reads a token (new tokens: field-bg, btn-bg, btn-blue, panel-grad(-hi/-deep), ph-a/b, hl, grid-dot, bg-glow, row-hover, panel-glass, sh-lg, note-*, violet-*, *-line, chrome-hi/warm, mint-faint/soft-2/line/line-2/deep/pale, gold-*, amber-*, cyan-*, muted-soft, ink-faint, ground-soft, nav-bg, side-bg, pill-bg, glow). tools.css maps every site.css token onto a Control Room token (its hard-coded --ink and --mint-ink are gone), admin.css loses its white/slate literals. Stage and pipeline palettes get a lifted dark variant; .stg text mixes the stage colour with ink so 10.5px pills pass in both themes. Light-side tuning for AA: muted #596984, ok #0B7A52, warn #B23A0A, sig-2 #B8420A, and the orange primary button carries navy text (white on #FF6A1A was 2.9:1).

Scripts that draw UI read tokens: my.js charts take their colours from getComputedStyle at draw time (CH proxy), donut caption and rank/wallet/ready badges use var(--muted)/var(--gold)/var(--ok); admin.js, credits-screen.js, engine-room.js, common.js (wordmark stroke) and cr-shell.js (arrival strip) likewise. Left as literals on purpose: brand gradients on the orange primary buttons, glows and drop shadows, overlays (modal backdrops, the full-screen ad viewer), video/QR/banner-preview backings that must stay black or white, print styles, var() fallbacks, and the categorical stage colours themselves.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-01 10:44:20 -06:00
martbost f26b3d6391 No font ligatures on the public pages and shell: JetBrains Mono merged '//' so pasted URLs looked like 'https: /site' (Marty 2026-10-07)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-07 16:15:30 -05:00
martbost 3c52e2704a Contract, live ledger, terms, privacy and disclaimer on the Instrument scheme; contract page shows chain totals and never falls back to another contract's source; terms and privacy updated for links, pages, zones and leads; share images point at the LinkSpin image; toolkit banners use the LinkSpin house set
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-07 09:15:03 -05:00
martbost dfb677bb09 New public home on the Instrument scheme: working demo (paste up to three pages, get a live spin link on a link domain, email code to keep it; demo spins are per browser, five per IP per hour, expire after 24 h unless claimed at sign-in), live strip from the chain and the rotator, the three free tools, the split card, the six-package ladder read from the catalog, LinkSpin share image; pub.css for every public page
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-07 08:58:57 -05:00