UNPKG

lumir-design-system-shared

Version:

Lumir Design System - Shared Components & Tokens

9 lines (8 loc) 309 B
export type Theme = 'light' | 'dark'; export interface ThemeContextValue { theme: Theme; setTheme: (theme: Theme) => void; toggleTheme: () => void; } export declare const ThemeContext: import("react").Context<ThemeContextValue | undefined>; export declare const useTheme: () => ThemeContextValue;