-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtailwind.config.ts
122 lines (118 loc) · 2.08 KB
/
tailwind.config.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
import type { Config } from 'tailwindcss';
const viewports = {
'10vw': '10vw',
'20vw': '20vw',
'30vw': '30vw',
'40vw': '40vw',
'50vw': '50vw',
'60vw': '60vw',
'70vw': '70vw',
'80vw': '80vw',
'90vw': '90vw',
'100vw': '100vw',
'10vh': '10vh',
'20vh': '20vh',
'30vh': '30vh',
'40vh': '40vh',
'50vh': '50vh',
'60vh': '60vh',
'70vh': '70vh',
'80vh': '80vh',
'90vh': '90vh',
'100vh': '100vh'
};
const spacing = {
0: '0',
2: '2px',
4: '4px',
8: '8px',
12: '12px',
16: '16px',
20: '20px',
24: '24px',
32: '32px',
40: '40px',
48: '48px',
56: '56px',
60: '60px',
64: '64px',
72: '72px',
80: '80px',
96: '96px',
100: '100px',
108: '108px',
120: '120px',
140: '140px',
160: '160px',
180: '180px',
200: '200px',
240: '240px',
300: '300px',
360: '360px',
400: '400px',
460: '460px',
480: '480px',
500: '500px',
560: '560px',
600: '600px',
640: '640px',
720: '720px',
800: '800px',
960: '960px',
1000: '1000px',
1200: '1200px',
...viewports
};
const config: Config = {
darkMode: 'class',
content: [
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
'node_modules/@material-tailwind/react/components/**/*.{js,ts,jsx,tsx}',
'node_modules/@material-tailwind/react/theme/components/**/*.{js,ts,jsx,tsx}'
],
theme: {
spacing,
maxHeight: {
...spacing,
full: '100%'
},
maxWidth: {
...spacing,
full: '100%'
},
minHeight: {
...spacing,
full: '100%'
},
minWidth: {
...spacing,
full: '100%'
},
extend: {
colors: {
brand: {
DEFAULT: '#8e4d63',
dark: '#f8c234',
lighter: '#C6A6B1'
},
primary: {
DEFAULT: '#ffffff',
dark: '#374151'
},
secondary: {
DEFAULT: '#f3f4f6',
dark: '#111827'
},
hover: {
DEFAULT: '#d1d5db',
dark: '#4b5563',
'md-editor': '#58a6ff'
}
}
}
},
plugins: [
]
};
export default config;