/** * Consolidated theme metadata derived from tokens.json. * * All display metadata (names, appearances, vendor groups) is computed from * the canonical token data at module evaluation time. Consumers should import * from here instead of maintaining their own hardcoded copies. * * Vendor order and ThemeId come from build-time codegen * (`packages/core/src/themes/generated/metadata.ts`). */ export type { ThemeId, VendorId } from './generated/metadata.js'; export { THEME_IDS, THEME_DESCRIPTIONS, THEME_ICONS, VENDOR_ICONS, VENDOR_FAMILY_META, } from './generated/metadata.js'; /** Default theme applied when no preference is stored. */ export declare const DEFAULT_THEME: 'catppuccin-mocha'; /** All valid theme IDs (re-export for convenience). */ export declare const VALID_THEMES: readonly string[]; /** Set of valid theme IDs for O(1) lookup. */ export declare const VALID_THEME_SET: ReadonlySet; /** Full human-readable label for each theme (e.g., "Catppuccin Mocha"). */ export declare const THEME_NAMES: Readonly>; /** Appearance (light/dark) for each theme. */ export declare const THEME_APPEARANCES: Readonly>; /** * Ordered list of vendor IDs controlling display order in dropdowns. * Generated from schema/tokens/_vendors.json — do not edit by hand. */ export declare const VENDOR_ORDER: readonly string[]; /** A vendor group with its display name and ordered theme IDs. */ export interface VendorGroup { id: string; displayName: string; themeIds: string[]; } export declare const VENDOR_GROUPS: readonly VendorGroup[]; /** * Strip the vendor prefix from a theme label to produce a short label. * * For single-flavor vendors (e.g., "Dracula", "Nord") the full label is returned. * For multi-flavor vendors the vendor name prefix is stripped: * "Catppuccin Mocha" -> "Mocha" * "Gruvbox Dark Hard" -> "Dark Hard" * * @param themeId - A valid theme ID * @returns The short display label, or the full label if the theme is not found */ export declare function getShortLabel(themeId: string): string; /** Pre-computed short labels for all themes. */ export declare const THEME_SHORT_LABELS: Readonly>; //# sourceMappingURL=metadata.d.ts.map