-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathtypes.ts
More file actions
53 lines (46 loc) · 787 Bytes
/
types.ts
File metadata and controls
53 lines (46 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import type { IconName } from 'wit-vue-ui'
export enum LocaleCodes {
en = 'en',
// es = 'es',
}
export type Locale = {
key: LocaleCodes
code: string
file: string
label: string
icon: string | null
}
export type Exchange = {
name: string
logo: IconName
link: string
}
export enum ButtonType {
primary = 'primary',
dark = 'dark',
secondary = 'secondary',
terciary = 'terciary',
disabled = 'disabled',
}
export type TutorialLink = {
name: string
url: string
}
export type TutorialList = {
title: string
tutorialLinks: Array<TutorialLink>
}
export enum ThemeKey {
light = 'light',
dark = 'dark',
}
export interface Themes {
[ThemeKey.dark]: {
icon: string
key: string
}
[ThemeKey.light]: {
icon: string
key: string
}
}