// The two paints a name is printed in on a PHOTOGRAPHED object — a bottle cap, // a tool object. Paint on a photograph is fixed the way the photograph is, so // these are the paper family's material and not a theme's palette: they live // here, beside the paper's dyes, because a colour lives under `Theme/` or // nowhere (`ThemeScanGuardTests`). import SwiftUI /// The ink a name PRINTED on a photographed object is set in — near-black on /// a light ground, cream on a dark one — with the blend that makes it read as /// printed rather than pasted: dark ink multiplies the picture and cream ink /// screens it, so a scratch or a chip under a letter still shows. /// /// Two paints, and they are not palette roles: they are paint on a /// PHOTOGRAPH, fixed the way the photograph is, and they do not flip with the /// theme. `PaletteGuardTests` exempts this file from the CHANNELS sweep for /// that reason and from nothing else. /// /// **Two readers.** Home's caps (`Paper/ProjectCaps.swift`) print a project's name with it, and Home's /// tool objects print a tool's name on its own face with it /// (`Paper/ToolPrint.swift`). One declaration, because two would /// eventually be two different creams. public enum PrintInk: String, CaseIterable, Sendable { case dark, cream public var color: Color { switch self { case .dark: return Color(red: 0.11, green: 0.09, blue: 0.08) case .cream: return Color(red: 0.96, green: 0.93, blue: 0.86) } } public var blend: BlendMode { switch self { case .dark: return .multiply case .cream: return .screen } } }