UNPKG

vuetify

Version:

Vue.js 2 Semantic Component Framework

79 lines (67 loc) 1.56 kB
import 'vuetify/src/util/helpers' import { PluginFunction } from 'vue' declare class Vuetify { static install: PluginFunction<never> } declare interface VuetifyApplication { bar: number bottom: number left: number right: number top: number } declare interface VuetifyBreakpoint { height: number lg: boolean lgAndDown: boolean lgAndUp: boolean lgOnly: boolean md: boolean mdAndDown: boolean mdAndUp: boolean mdOnly: boolean name: string sm: boolean smAndDown: boolean smAndUp: boolean smOnly: boolean width: number xl: boolean xlOnly: boolean xs: boolean xsOnly: boolean } declare interface VuetifyTheme { primary: VuetifyThemeItem accent: VuetifyThemeItem secondary: VuetifyThemeItem info: VuetifyThemeItem warning: VuetifyThemeItem error: VuetifyThemeItem success: VuetifyThemeItem [name: string]: VuetifyThemeItem } declare type VuetifyThemeItem = string | number declare interface VuetifyThemeCache { get: (parsedTheme: VuetifyTheme) => string | null set: (parsedTheme: VuetifyTheme, css: string) => void } declare interface VuetifyOptions { themeVariations?: string[] minifyTheme?: (css: string) => string themeCache?: VuetifyThemeCache } declare interface VuetifyObject { application: VuetifyApplication breakpoint: VuetifyBreakpoint dark: boolean theme: VuetifyTheme options: VuetifyOptions goTo: (target: string | number | HTMLElement) => void } declare module 'vue/types/vue' { interface Vue { $vuetify: VuetifyObject } } export default Vuetify