/** * Text-size presets for the unified markdown engine. * * `default` / `compact` / `large` are carried over verbatim from the old * `SimpleMarkdownRenderer`. `article` is NEW — it reproduces the exact * typography the old `RichMarkdownRenderer` hardcoded per element, so * content surfaces (blog, case studies, releases, legal, docs) keep * byte-identical classes through the unification. * * ODS-TOKENS FLAG (ODS_TOKEN_RULES §Typography / §General): the `article` * preset carries raw px classes (`text-[32px] md:text-[40px] …`) because * ODS currently has NO composite tokens for long-form prose — `text-h1`/ * `text-h2` are Azeret Mono UI-label scale and `text-h5` is uppercase, * so mapping prose headings onto them would visibly regress articles. * The `code` entry of EVERY preset (`text-[13px]` / `text-[14px]` / * `text-[16px]`), not just `article`'s, is raw px for the same reason: ODS * has no code/mono type scale. `base-components.tsx` carries the matching * flag for inline code's `text-[0.9em]` (the mono FAMILY is no longer an * exemption — both code surfaces now use `font-mono`). * Per the unification plan, the missing prose- and code-typography tokens * are FLAGGED here for addition to ODS; the raw-px carry-over is the * documented, review-gated exemption recorded in the unification PR. * Do NOT copy these px classes anywhere else. */ export type TextSizeElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'li' | 'blockquote' | 'code' | 'th' | 'td'; export type TextSizeClassMap = Partial>; export type TextSizePreset = 'default' | 'compact' | 'large' | 'article'; export type TextSizeConfig = TextSizePreset | TextSizeClassMap | { preset: TextSizePreset; overrides: TextSizeClassMap; }; export declare const TEXT_SIZE_PRESETS: Record>; export declare function resolveTextSizeConfig(config?: TextSizeConfig): Record; //# sourceMappingURL=text-size.d.ts.map