-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathtailwind.config.js
125 lines (124 loc) · 4.12 KB
/
tailwind.config.js
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
123
124
125
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
mode: 'jit',
purge: [
'./pages/**/*.{js,jsx,ts,tsx}',
'./lib/**/*.{js,jsx,ts,tsx}',
'./layouts/**/*.{js,jsx,ts,tsx}',
'./components/**/*.{js,jsx,ts,tsx}',
'./components/*.{js,jsx,ts,tsx}'
],
darkMode: 'class',
theme: {
extend: {
transitionProperty: {
'height': 'height'
},
screens: {
xs: '520px',
...defaultTheme.screens
},
fontFamily: {
inter:
'Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";'
},
colors: {
primary: {
50: '#FDFAF7',
100: '#FCEEE2',
200: '#F9DBC1',
300: '#F7BD8D',
400: '#F6904D',
500: '#FD6400',
600: '#E05900',
700: '#C75000',
800: '#9E3F00',
900: '#803300'
},
secondary: {
50: '#F6F1FD',
100: '#E7DBFA',
200: '#D0BAF2',
300: '#B186EA',
400: '#8A57DB',
500: '#6436B0',
600: '#4D1E9B',
700: '#3E1A74',
800: '#2F1457',
900: '#28114B'
},
gray: {
100: '#FBFAFC',
200: '#F7F5FA',
300: '#F1EDF7',
400: '#DFDAE8',
500: '#BFB8CC',
600: '#9187A1',
700: '#7D728F',
800: '#6A5F7A',
900: '#453C52',
1000: '#1F2937',
1100: '#111827',
1200: '#192030',
1300: '#131a29'
}
},
typography: {
DEFAULT: {
css: {
color: 'colors.gray.900',
h2: {
color: 'colors.blue.500',
'&:hover': {
color: 'colors.blue.700'
}
},
h3: {
color: 'colors.blue.500',
'&:hover': {
color: 'colors.blue.700'
}
},
strong: {
color: 'colors.blue.500',
'&:hover': {
color: 'colors.blue.700'
}
}
}
},
DARK: {
css: {
color: 'colors.gray.100',
h2: {
color: 'colors.blue.100',
'&:hover': {
color: 'colors.blue.100'
}
},
h3: {
color: 'colors.blue.100',
'&:hover': {
color: 'colors.blue.100'
}
},
strong: {
color: 'colors.blue.500',
'&:hover': {
color: 'colors.blue.700'
}
}
}
}
}
}
},
variants: {
extend: {
backgroundColor: ['disabled'],
cursor: ['disabled'],
textColor: ['disabled']
}
},
plugins: [require('@tailwindcss/typography')()]
};