feat(design): two-color world — cream chrome, shared page, rust caret (#89)

Calibrated live with Alexander: background #FAF9F3 (cream chrome, also
the focus ground), surface #FFFEFB (one page color for edit AND read —
kills the three-way jump white/gray/blueish), rust #C96442 caret,
reading highlights in cream washes at whisper strength, hardcoded
NSColor.white sites removed. Departure from the export contract is
deliberate and recorded in DesignTokens.
This commit is contained in:
AlexKucera committed 2026-10-09 20:24:59 +02:00
1 parent 9ad71ebf8a
commit c2be84e25a
2 files changed
+9 -6

No files matched your search

+5 -2
View File
@@ -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)