// The colours of the apps' own grounds, where their tiles are not drawn: each // the mean of its painted tile (`scripts/paint-ground-tiles.py`, 12 Nov // 2026), the material its app's icon stands on: the calendar's kitchen tile, // the people's amethyst painted desk, the messages' yellow pegboard, the email's rose // linen, the notes' burnt-orange felt, the todos' teal baize, the money's // pink terrazzo, the keys' teal-blue leather, the downloads' record-shop checker // floor, the developer's charcoal desk mat, the podcasts' mint formica // counter, the photos' darkroom bench, the journal's bedside table, // the pages' cobalt enamel and the calling // desk's oxblood leather. A material is NOT a palette // role: it is the colour of a thing, read off its painting the way a paper's // dye is read off its photograph (`PaperDye`), and it does not flip with the // theme. Whether words on it take the light ink or the dark follows from the // colour (`FaceGround.dark`). `PaletteGuardTests` exempts this file from the // CHANNELS sweep for that sentence and no other; it writes no hex and names // nothing. import SwiftUI /// The apps' grounds, by their tiles' means. public enum GroundMaterial: String, CaseIterable, Sendable { /// Pale blue glazed kitchen tiles in light grout (`calendar-tile`). case kitchenTile /// A desk top painted amethyst over the wood's grain (`people-amethyst`). case amethystDesk /// Yellow painted pegboard (`messages-pegboard`). case pegboard /// Rose linen (`email-linen`). case roseLinen /// Burnt-orange wool felt (`notes-felt`). case feltOrange /// Dark teal baize (`todos-baize`). case baizeTeal /// Pink terrazzo (`money-terrazzo`). case terrazzo /// Teal-blue dyed pebbled leather (`keys-teal`). case tealLeather /// A record shop's grey vinyl checker floor (`downloads-checker`). case checker /// A charcoal felt desk mat (`developer-mat`). case deskMat /// Pale mint boomerang formica, a kitchen windowsill counter's (`podcasts-formica`). case formicaCounter /// A darkroom bench's worn black enamel under the safelight (`photos-bench`). case darkroomBench /// A bedside table's dark oiled walnut (`journal-bedside`). case bedsideTable /// A desk top in cobalt-blue enamel (`pages-cobalt`). case cobaltEnamel /// A writing desk's oxblood leather inlay, waxed (`calling-desk`). case leatherDesk /// A honed slab of blue-grey slate, faint laminations and a quartz thread (`health-slate`). case slate public var colour: Color { switch self { case .kitchenTile: Color(red: 0.686, green: 0.780, blue: 0.824) case .amethystDesk: Color(red: 0.529, green: 0.298, blue: 0.584) case .pegboard: Color(red: 0.925, green: 0.706, blue: 0.102) case .roseLinen: Color(red: 0.812, green: 0.537, blue: 0.498) case .feltOrange: Color(red: 0.592, green: 0.302, blue: 0.106) case .baizeTeal: Color(red: 0.051, green: 0.302, blue: 0.286) case .terrazzo: Color(red: 0.875, green: 0.647, blue: 0.604) case .tealLeather: Color(red: 0.020, green: 0.424, blue: 0.518) case .checker: Color(red: 0.318, green: 0.302, blue: 0.318) case .deskMat: Color(red: 0.200, green: 0.184, blue: 0.180) case .formicaCounter: Color(red: 0.804, green: 0.882, blue: 0.824) case .darkroomBench: Color(red: 0.176, green: 0.141, blue: 0.118) case .bedsideTable: Color(red: 0.271, green: 0.165, blue: 0.106) case .cobaltEnamel: Color(red: 0.047, green: 0.255, blue: 0.616) case .leatherDesk: Color(red: 0.306, green: 0.102, blue: 0.082) case .slate: Color(red: 0.192, green: 0.227, blue: 0.267) } } }