UNPKG

@rfkit/theme

Version:

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

16 lines 370 B
import type { SizeConfigs, SizeType } from './types'; /** * 获取当前大小 */ export declare const getCurrentSize: () => SizeType; /** * 初始化主题 */ export declare function initSize({ configs, }: { configs?: SizeConfigs; }): void; /** * 切换大小 */ export declare const toggleSize: (newSize: SizeType) => void; //# sourceMappingURL=core.d.ts.map