Branchwell

Lumen & Gesso / website · lumengesso.com / app / data / backgrounds.ts

Raw 923 B on f4d070c0cd6547ed6432bda0f7f1dc2cb2181b18
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.
12export 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
20export type BgColorId = keyof typeof BACKGROUND_COLORS;