UNPKG

@wise/components-theming

Version:

Provides theming support for the Wise Design system components

17 lines 559 B
import type { ScreenMode, Theming } from './const'; interface ThemeHookValue { theme: NonNullable<Theming['theme']>; screenMode: ScreenMode; /** * @deprecated there is no more such thing as "modern" theme */ isModern: boolean; isForestGreenTheme: boolean; isScreenModeDark: boolean; className: string; setTheme: (theme: NonNullable<Theming['theme']>) => void; setScreenMode: (screenMode: ScreenMode) => void; } export declare const useTheme: () => ThemeHookValue; export {}; //# sourceMappingURL=useTheme.d.ts.map