UNPKG

@rfkit/theme

Version:

A flexible light/dark theme switching library supporting custom theme configuration, dynamic switching, and responsive design

5 lines 344 B
import type { ThemeType, ThemeConfigs } from './types'; export declare const initializeCSS: (configs: ThemeConfigs, key: string, modeKey?: string) => void; export declare const setThemeAttribute: (theme: ThemeType, mode: boolean) => void; export declare const getThemeMedia: () => MediaQueryList | undefined; //# sourceMappingURL=tools.d.ts.map