forked from Coding-Coach/coding-coach
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
68 lines (63 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
module.exports = {
theme: {
colors: {
'transparent': 'transparent',
'black': '#202939',
'white': '#ffffff',
'white-dark': '#fafafa',
'neutral': '#1f386e',
// Green variations
'primary-lightest': '#D5FFF4',
'primary-lighter': '#E6F5F0',
'primary-light': '#69D5B1',
'primary-dark': '#126D4F',
'primary': '#00bc89',
// Grey variations
'secondary-lightest': '#E8E7E7',
'secondary-lighter': '#A8A4A4',
'secondary-light': '#979797',
'secondary': '#929292',
'secondary-dark': '#4A4A4A',
// Danger variations
'danger-lighter': '#FFD5DB',
'danger-light': '#EA7A71',
'danger': '#EB6E64',
'danger-darker': '#D4574D',
// Backdrops
'modal': 'rgba(0, 0, 0, 0.3)',
},
fontSize: {
'xs': '.75rem',
'sm': '.875rem',
'base': '1rem',
'lg': '1.125rem',
'xl': '1.25rem',
'2xl': '1.5rem',
'3xl': '1.875rem',
'4xl': '2.25rem',
'5xl': '3rem',
'6xl': '4rem',
'7xl': '5.25rem',
},
container: {
center: true,
padding: '1.5rem',
},
extend: {
fontFamily: {
'display': ['"Fjalla One"', 'sans-serif'],
'body': ['"Open Sans"', 'sans-serif'],
},
}
},
variants: {},
plugins: [
require('./tailwind/single-diagonal')({
colors: ['primary-light'],
}),
require('./tailwind/bg-bands')({
colors: ['primary-lighter'],
}),
require('./tailwind/blog-content')(),
]
}