// The colours of the notebook's things, where they are not painted.//// A note's page is painted (`note-page`, its shadow `note-page-shadow`, the// paperclip `note-clip`, cut by// `scripts/import-notebook-materials.py` from the layers painted after the// torn-page picture the owner chose, `note-look/3-torn-page`, 29 Oct 2026). What// is drawn live over the paint takes its colour from here: the warm// near-black the words are written in and the grey of the date typed under// the title; and where a build carries no pictures, the page's stand-in —// its cream, its pale blue rules and its red margin (it lies on the notes'// felt, `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.importSwiftUI/// The notebook's materials.publicenumNotebookMaterial: String, CaseIterable, Sendable {/// The page's cream, its painting's mean between the rules.case paper/// A rule's faint pale blue.case rule/// The margin line's faded red.case margin/// The warm near-black the title and the words are written in.case ink/// The grey the date is typed in.case datepublicvar colour: Color {switchself {case .paper: Color(red: 0.866, green: 0.788, blue: 0.696)case .rule: Color(red: 0.56, green: 0.61, blue: 0.64)case .margin: Color(red: 0.86, green: 0.62, blue: 0.53)case .ink: Color(red: 0.11, green: 0.095, blue: 0.085)case .date: Color(red: 0.34, green: 0.32, blue: 0.30) } }}