Lumen & Gesso / website / app / data / backgrounds.ts
| 1 | // Background-color palette — single source of truth for the swatch |
| 2 | // picker in the commission builder. |
| 3 | // |
| 4 | // Used by: |
| 5 | // - app/components/Builder.tsx — the in-app background swatch picker |
| 6 | // |
| 7 | // The catalogue styles that show this picker are flagged with |
| 8 | // `hasSolidBackground: true`. Watercolor / vector / named render as |
| 9 | // transparent PNGs (via rembg post-process at generation time) and are |
| 10 | // composited over the chosen hex at preview/print time; line drawing |
| 11 | // and charcoal use `mix-blend-mode: multiply` over the same hex. |
| 12 | export const BACKGROUND_COLORS = { |
| 13 | warmWhite: { label: 'Warm white', hex: '#fbf6ea' }, |
| 14 | softGrey: { label: 'Soft grey', hex: '#e6e3dc' }, |
| 15 | paleOat: { label: 'Pale oat', hex: '#ede4cd' }, |
| 16 | faintBlush: { label: 'Faint blush', hex: '#f3dfd9' }, |
| 17 | softSage: { label: 'Soft sage', hex: '#d9e0d4' }, |
| 18 | } as const; |
| 19 | |
| 20 | export type BgColorId = keyof typeof BACKGROUND_COLORS; |