// The colours of the people's things, where they are not painted. // // A person's rolodex card is painted (`rolodex-frame`, its shadow // `rolodex-shadow`, the front card `rolodex-card`, its rings `rolodex-ring`, // the photograph's print `rolodex-print`, cut by `scripts/import-people-materials.py` from the layers // painted after the rolodex picture chosen for People, `objects-2/people/ // 1-rolodex`, 29 Oct 2026). What is drawn live over the paint takes its // colour from here: the near-black a card is typed in, the red of the // ribbon's other half, the graphite of the line pencilled at its foot; and // where a build carries no pictures, the card's stand-in — its cream and its // pale blue rules, a blank print's paper (it stands on the people's amethyst desk, // `GroundMaterial`). A material is NOT a palette // role: it is the colour of a thing, read off the reference the way a // paper's dye is read off its photograph (`PaperDye`), and it does not flip // with the theme. `PaletteGuardTests` exempts this file from the CHANNELS // sweep for that sentence and no other; it writes no hex and names nothing. import SwiftUI /// The people's materials. public enum PeopleMaterial: String, CaseIterable, Sendable { /// The card's cream, the frame's own cards'. case card /// A rule's faint pale blue. case rule /// A blank print's paper, where no photograph is pasted. case print /// The typewriter's near-black: the name and the facts. case ink /// The ribbon's red: a birthday, a corner that is owed. case red /// The soft graphite the foot's line is pencilled in. case graphite /// What a dimmed card on the rail is multiplied by: its paper and its /// ink taken down to about 60%. case dim public var colour: Color { switch self { case .card: Color(red: 0.942, green: 0.816, blue: 0.647) case .rule: Color(red: 0.62, green: 0.68, blue: 0.72) case .print: Color(red: 0.86, green: 0.82, blue: 0.75) case .ink: Color(red: 0.09, green: 0.08, blue: 0.075) case .red: Color(red: 0.70, green: 0.13, blue: 0.10) case .graphite: Color(red: 0.40, green: 0.37, blue: 0.34) case .dim: Color(red: 0.6, green: 0.6, blue: 0.6) } } }