-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
61 lines (61 loc) · 1.41 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
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
safelist: ['text-white', 'text-brand-default', 'bg-brand-default', 'bg-purple-50'],
theme: {
extend: {
typography: (theme) => ({
DEFAULT: {
css: {
color: theme('colors.brand.text'),
a: {
color: theme('colors.brand.default')
},
code: {
padding: theme('spacing.1'),
fontWeight: theme('fontWeight.normal'),
backgroundColor: '#fbf2e9'
},
'code::before': {
content: '""'
},
'code::after': {
content: '""'
}
}
}
}),
colors: {
brand: {
text: '#36313d',
default: '#663399',
primary: '#7026B9',
secondary: '#3fa9f5'
}
},
gridTemplateColumns: {
['auto-1fr']: 'auto-1fr',
['1fr-auto']: '1fr auto',
['auto-1fr']: 'auto 1fr'
},
margin: (theme) => ({
main: theme('minHeight.header'),
sidebar: theme('minWidth.nav')
}),
height: {
main: 'calc(100vh - 340px)'
},
minWidth: {
nav: 220
},
minHeight: {
header: 60
},
zIndex: {
lightbox: 997,
nav: 998,
header: 999
}
}
},
plugins: [require('@tailwindcss/typography')]
};