forked from tailwindlabs/tailwindcss.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
68 lines (67 loc) · 1.51 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
const defaultConfig = require('tailwindcss/defaultConfig')
module.exports = {
important: true,
theme: {
screens: {
'sm': '576px',
'md': '768px',
'lg': '992px',
'xl': '1280px',
},
extend: {
colors: {
code: {
green: 'var(--color-code-green)',
yellow: 'var(--color-code-yellow)',
purple: 'var(--color-code-purple)',
red: 'var(--color-code-red)',
blue: 'var(--color-code-blue)',
white: 'var(--color-code-white)',
}
},
spacing: {
'7': '1.75rem',
'10': '2.5rem',
'12': '3rem',
'16': '4rem',
'20': '5rem',
'24': '6rem',
'28': '7rem',
'32': '8rem',
'80': '20rem',
'128': '32rem',
'(screen-16)': 'calc(100vh - 4rem)',
},
inset: {
'16': '4rem',
'20': '5rem',
'24': '6rem',
},
borderWidth: {
'6': '6px',
},
maxWidth: theme => {
return {
'screen-xl': theme('screens.xl'),
}
},
maxHeight: {
'xs': '20rem',
'sm': '30rem',
'(screen-16)': 'calc(100vh - 4rem)',
},
boxShadow: {
'md-light': '0 0 12px 8px rgb(255,255,255)'
},
zIndex: {
'90': '90',
'100': '100',
},
}
},
variants: {
backgroundColor: ['responsive', 'hover', 'focus'],
borderColor: ['responsive', 'hover', 'focus'],
borderWidth: ['responsive', 'hover', 'focus'],
}
}