@wise/components-theming
Version:
Provides theming support for the Wise Design system components
22 lines • 1.23 kB
TypeScript
export declare const baseThemes: readonly ["light", "personal"];
export declare const extraThemes: readonly ["forest-green", "bright-green"];
export declare const screenModes: readonly ["light", "dark"];
export declare const modernThemes: readonly ["personal", "forest-green", "bright-green"];
export declare const platformThemes: readonly ["platform", "platform--forest-green"];
export type ComponentTheme = (typeof baseThemes)[number];
export type ModernTheme = (typeof modernThemes)[number];
export type BaseTheme = (typeof baseThemes)[number];
export type ExtraTheme = (typeof extraThemes)[number];
export type ForestGreenTheme = (typeof extraThemes)[0];
export type ScreenMode = (typeof screenModes)[number];
export type ScreenModeDark = (typeof screenModes)[1];
export type PlatformTheme = (typeof platformThemes)[0];
export type PlatformForestGreenTheme = (typeof platformThemes)[1];
export declare const DEFAULT_BASE_THEME = "light";
export declare const DEFAULT_SCREEN_MODE = "light";
export type Theming = {
theme?: ComponentTheme | BaseTheme | ExtraTheme | PlatformTheme | PlatformForestGreenTheme;
screenMode?: ScreenMode;
isNotRootProvider?: boolean | undefined;
};
//# sourceMappingURL=const.d.ts.map