UNPKG

@lekseek/ui

Version:

Vue 3 components library

21 lines (20 loc) 500 B
import { PropType, Ref } from 'vue'; export declare type ThemeProps = { dark: boolean; light: boolean; }; export declare const defaultThemeProps: Partial<ThemeProps>; export declare const themeProps: { dark: { type: PropType<boolean>; default: boolean; }; light: { type: PropType<boolean>; default: boolean; }; }; export declare function useTheme(dark: Ref, light: Ref): import("vue").ComputedRef<{ 'is-dark': any; 'is-light': any; }>;