1 |
|
2 | import {
|
3 | Breakpoint,
|
4 | BreakpointOptions,
|
5 | } from 'vuetify/types/services/breakpoint'
|
6 | import {
|
7 | Icons,
|
8 | IconsOptions,
|
9 | } from 'vuetify/types/services/icons'
|
10 | import {
|
11 | Lang,
|
12 | LangOptions,
|
13 | } from 'vuetify/types/services/lang'
|
14 | import {
|
15 | Theme,
|
16 | ThemeOptions,
|
17 | } from 'vuetify/types/services/theme'
|
18 |
|
19 | export interface VuetifyPreset {
|
20 | breakpoint: {
|
21 | scrollBarWidth: Breakpoint['scrollBarWidth']
|
22 | thresholds: Breakpoint['thresholds']
|
23 | }
|
24 | icons: {
|
25 | iconfont: Icons['iconfont']
|
26 |
|
27 | values: Partial<Icons['values']>
|
28 | }
|
29 | lang: {
|
30 | current: Lang['current']
|
31 | locales: Lang['locales']
|
32 | t: Lang['t']
|
33 | }
|
34 | theme: {
|
35 | dark: Theme['dark']
|
36 | default: Theme['default']
|
37 | disable: Theme['disable']
|
38 | options: Theme['options']
|
39 | themes: Theme['themes']
|
40 | }
|
41 |
|
42 | [name: string]: any
|
43 | }
|
44 |
|
45 | export interface UserVuetifyPreset extends GlobalVuetifyPreset {
|
46 | preset?: GlobalVuetifyPreset
|
47 |
|
48 | [name: string]: any
|
49 | }
|
50 |
|
51 | export interface GlobalVuetifyPreset {
|
52 | breakpoint?: BreakpointOptions
|
53 | icons?: IconsOptions
|
54 | lang?: LangOptions
|
55 | theme?: ThemeOptions
|
56 |
|
57 | [name: string]: any
|
58 | }
|
59 |
|
60 | export interface Presets {
|
61 | preset: UserVuetifyPreset
|
62 | }
|