/** * cc-tui color themes β€” Gentle Mist Blue (雾蓝) family. * * Two truecolor palettes share one identity: mist blues carry brand, focus, * and interaction; body text stays neutral. `light` is the strict Gentle * Mist Blue card (warm off-white background #F6F3ED, ink text #343945) for * light terminals; `dark` is its dark-terminal adaptation (warm off-white * text, accent-soft blues). `dark-ansi` is the 16-color fallback for * terminals without truecolor. The active palette is chosen at startup by * querying the terminal background (OSC 11) β€” see ThemeProvider. */ export type Theme = { autoAccept: string; bashBorder: string; claude: string; claudeShimmer: string; claudeBlue_FOR_SYSTEM_SPINNER: string; claudeBlueShimmer_FOR_SYSTEM_SPINNER: string; permission: string; permissionShimmer: string; planMode: string; ide: string; promptBorder: string; promptBorderShimmer: string; text: string; inverseText: string; inactive: string; inactiveShimmer: string; subtle: string; suggestion: string; remember: string; background: string; success: string; error: string; warning: string; merged: string; warningShimmer: string; diffAdded: string; diffRemoved: string; diffAddedDimmed: string; diffRemovedDimmed: string; diffAddedWord: string; diffRemovedWord: string; red_FOR_SUBAGENTS_ONLY: string; blue_FOR_SUBAGENTS_ONLY: string; green_FOR_SUBAGENTS_ONLY: string; yellow_FOR_SUBAGENTS_ONLY: string; purple_FOR_SUBAGENTS_ONLY: string; orange_FOR_SUBAGENTS_ONLY: string; pink_FOR_SUBAGENTS_ONLY: string; cyan_FOR_SUBAGENTS_ONLY: string; professionalBlue: string; chromeYellow: string; clawd_body: string; clawd_background: string; userMessageBackground: string; userMessageBackgroundHover: string; messageActionsBackground: string; selectionBg: string; bashMessageBackgroundColor: string; memoryBackgroundColor: string; rate_limit_fill: string; rate_limit_empty: string; fastMode: string; fastModeShimmer: string; briefLabelYou: string; briefLabelClaude: string; rainbow_red: string; rainbow_orange: string; rainbow_yellow: string; rainbow_green: string; rainbow_blue: string; rainbow_indigo: string; rainbow_violet: string; rainbow_red_shimmer: string; rainbow_orange_shimmer: string; rainbow_yellow_shimmer: string; rainbow_green_shimmer: string; rainbow_blue_shimmer: string; rainbow_indigo_shimmer: string; rainbow_violet_shimmer: string; }; /** The built-in theme names, in display order. */ export declare const THEME_NAMES: readonly ["dark", "dark-ansi", "light"]; /** * Any theme name: a built-in palette (`light`/`dark`/`dark-ansi`) or a user * theme from ~/.dsh-cc/themes/.json. Always resolvable to a concrete * color palette via getTheme() (unknown names fall back to `dark`). */ export type ThemeName = string; /** * Resolve a theme name to its concrete color palette. * @param themeName - The theme to resolve (built-in or user theme name). * @returns The matching palette; unknown names fall back to `dark`. */ export declare function getTheme(themeName: ThemeName): Theme; /** * Register the custom-theme resolver. Called once by ThemeProvider; the * resolver must return `undefined` for names it does not know so getTheme * falls back to `dark`. * @param resolver - Resolves a user theme name to a built palette. */ export declare function registerCustomThemeResolver(resolver: (name: string) => Theme | undefined): void; /** * Set the module-level active theme; ThemeProvider calls this once * background detection settles and on every runtime theme switch. * @param name - The theme to activate. */ export declare function setActiveThemeName(name: ThemeName): void; /** * Resolve the currently active theme for non-React rendering. * @returns The palette of the module-level active theme. */ export declare function getActiveTheme(): Theme; //# sourceMappingURL=theme.d.ts.map