-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
50 lines (49 loc) · 1021 Bytes
/
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
const { fontFamily, spacing } = require('tailwindcss/defaultTheme');
module.exports = (isProd) => ({
prefix: '',
important: true,
purge: {
enabled: isProd,
content: ['./src/**/*.html', './src/**/*.ts']
},
theme: {
fontFamily: {
sans: ['Quicksand', ...fontFamily.sans]
},
screens: {
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px'
},
extend: {
inset: {
1: '1rem',
2: '1.5rem'
},
spacing: {
'2-rev': `-${spacing['2']}`
},
boxShadow: {
common: 'var(--shadow)'
},
maxWidth: {
32: '8rem'
},
minHeight: {
128: '32rem'
},
maxHeight: {
220: '55rem'
},
colors: {
primary: 'var(--primary)',
secondary: 'var(--secondary)',
'gray-light': 'var(--gray-light)',
'gray-medium': 'var(--gray-medium)',
'gray-dark': 'var(--gray-dark)',
text: 'var(--text-color)'
}
}
}
});