diff --git a/Museion/DesignTokens.swift b/Museion/DesignTokens.swift index 4c9daaa..8443cc5 100644 --- a/Museion/DesignTokens.swift +++ b/Museion/DesignTokens.swift @@ -9,9 +9,12 @@ import SwiftUI /// Colors, radii, and column geometry extracted from the export's `:root` /// and workspace grid. Light-only on purpose — the export defines one palette. +/// #89 calibration (2026-10-09): two-color world, deliberately departed from +/// the export — page (edit+read+cards share it) vs background (chrome/focus). +/// Values are live-calibrated with Alexander, not contract-fixed. enum DesignTokens { - static let background = Color(red: 0xFA / 255, green: 0xFA / 255, blue: 0xF7 / 255) - static let surface = Color(red: 1, green: 1, blue: 1) + static let background = Color(red: 0xFA / 255, green: 0xF9 / 255, blue: 0xF3 / 255) + static let surface = Color(red: 0xFF / 255, green: 0xFE / 255, blue: 0xFB / 255) static let foreground = Color(red: 0x1A / 255, green: 0x19 / 255, blue: 0x16 / 255) static let muted = Color(red: 0x6B / 255, green: 0x69 / 255, blue: 0x64 / 255) static let border = Color(red: 0xE8 / 255, green: 0xE5 / 255, blue: 0xDF / 255) diff --git a/Museion/Resources/reading.css b/Museion/Resources/reading.css index cad4049..00a46ce 100644 --- a/Museion/Resources/reading.css +++ b/Museion/Resources/reading.css @@ -17,7 +17,7 @@ --ink: #1d1d1f; --muted: #6e6e73; --secondary: #48484d; --hairline: #d2d2d7; --rule: #a1a1a6; --substrate: #f5f5f7; } -html { background: #fbfbfd; } +html { background: #fffefb; } body { margin: 24px auto; padding: 0 24px; width: var(--measure); max-width: calc(100vw - 48px); color: var(--ink); font-family: var(--body-face); font-size: var(--body-size); @@ -75,6 +75,6 @@ figure img { display: block; margin: 0 auto; max-height: 340px; max-width: 100%; figcaption { color: var(--muted); font-size: 0.85em; text-align: center; margin-top: 8px; } section.footnotes { color: var(--muted); } section.footnotes li p { margin: 0; } -[data-source-line]:hover { background: rgba(0,122,255,.05); } -::selection { background: rgba(0,122,255,.12); } -:focus-visible { outline: 2px solid rgba(0,122,255,.6); outline-offset: 2px; } +[data-source-line]:hover { background: rgba(196,175,138,.075); } +::selection { background: rgba(196,175,138,.19); } +:focus-visible { outline: 2px solid rgba(201,100,66,.55); outline-offset: 2px; }