-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.d.ts
executable file
·97 lines (93 loc) · 1.55 KB
/
tailwind.config.d.ts
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
import { TailwindConfig } from 'tailwindcss/tailwind-config'
import { Screens, ValueTypeOfKey } from './src/lib/types'
type TailwindConfigJIT = TailwindConfig & { mode?: 'jit' }
type theme = ValueTypeOfKey<TailwindConfigJIT, 'theme'>
type Spacings =
| '0'
| 'px'
| '0.5'
| '1'
| '1.5'
| '2'
| '2.5'
| '3'
| '3.5'
| '4'
| '5'
| '6'
| '7'
| '8'
| '9'
| '10'
| '11'
| '12'
| '14'
| '16'
| '20'
| '24'
| '28'
| '32'
| '36'
| '40'
| '44'
| '48'
| '52'
| '56'
| '60'
| '64'
| '72'
| '80'
| '96'
export type ThemeConfig = Omit<theme, 'screens'> & {
screens: { [x in Screens]: string }
spacing: { [x in Spacings]: string }
} & {
extend: {
colors: {
primary: {
DEFAULT: string
50: string
500: string
600: string
700: string
800: string
900: string
990: string
}
secondary: {
DEFAULT: string
50: string
100: string
200: string
300: string
400: string
500: string
600: string
700: string
800: string
900: string
}
blood: {
DEFAULT: string
}
shiningOrange: {
DEFAULT: string
500: string
faded: string
}
rarity: {
common: string
uncommon: string
rare: string
legendary: string
mythical: string
celestial: string
}
text: {
primary: string
secondary: string
hover: string
}
}
}
}