/** * Figma Token Export Utility * * Generates a Tokens Studio-compatible JSON export from the Urbicon UI * OKLCH design token system. Suitable for Figma plugins like "Tokens Studio * for Figma" (formerly Figma Tokens). * * The values below mirror the token truth in `../style/foundation.css` * (palettes, radii) and `../style/semantic.css` (surface/text/border roles, * shadows). They are hardcoded — this module runs in the browser and cannot * read the CSS files at runtime — but guarded against drift by the * co-located `figma-token-export.test.ts`, which parses both CSS files and * compares every value. If you change a token in the CSS, that test fails * until the export here is updated to match. * * Semantic tokens resolve light/dark via CSS `light-dark()`; this export * carries the **light-mode** resolution (Figma has no mode-aware token * values in plain Tokens Studio JSON). Dark mode swaps at the foundation * layer, so the palette ramps below contain every shade both modes use. */ export interface FigmaToken { value: string; type: string; description?: string; } export interface FigmaTokenGroup { [key: string]: FigmaToken | FigmaTokenGroup; } export declare function generateFigmaTokens(): FigmaTokenGroup; export declare function generateFigmaTokensJSON(pretty?: boolean): string;