/** * Built-in theme presets. * * The presets carry over the curated visual language that the legacy HTML * references owned in prose (see `docs/adr/0001-page-spec-compiler-boundary.md` * and `html-design-guidelines.md`), now as validated token data. * * Each preset leads its display stack with one bundled SIL OFL face (see * `src/render/font-faces.ts`), which the compiler inlines as `data:` so the * offline contract holds. A system stack always follows as the fallback, and a * custom stack that names no bundled face embeds nothing. */ import { type PresetDefinition } from './preset-builder.js'; export type { PresetDefinition } from './preset-builder.js'; /** * Palette notes, kept next to the data so a reviewer can check the intent: * every preset pairs a warm/cool background with a matching accent family, uses * a tinted hairline border rather than a neutral grey, and keeps body text at a * contrast ratio above 7:1 against its background. */ export declare const PRESETS: Readonly>; /** Default preset used when a spec does not name one. */ export declare const DEFAULT_PRESET = "editorial"; export declare function presetNames(): string[]; /** * A preset in its declarative, catalog-friendly form. * * Built-in presets are complete token sets; a file-authored preset typically * declares `extends` plus overrides. Both are the same shape, so resolution has * one code path. */ export interface PresetEntry { name: string; version: number; description: string; extends?: string; /** Light-scheme token values. */ tokens: Record; /** Dark-scheme token values. */ dark: Record; /** Component recipes the preset selects; unset surfaces inherit. */ recipes?: Record; origin: 'built-in' | 'user' | 'project' | 'file'; file?: string; } /** Built-in presets expressed as catalog entries. */ export declare function builtinPresetEntries(): Record; //# sourceMappingURL=presets.d.ts.map