@varlet/ui
Version:
A Vue3 component library based on Material Design 2 and 3, supporting mobile and desktop.
20 lines (14 loc) • 396 B
TypeScript
import { StyleVars } from './styleProvider'
export interface ThemesToViewportOptions {
viewportWidth?: number
viewportUnit?: string
unitPrecision?: number
}
interface Themes {
dark: StyleVars
md3Light: StyleVars
md3Dark: StyleVars
toViewport(theme: StyleVars, options?: ThemesToViewportOptions): StyleVars
}
export declare const Themes: Themes
export class _ThemesComponent {}