-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
68 lines (68 loc) · 1.56 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 = {
mode: 'jit',
purge: ['./pages/**/*.js', './components/**/*.js'],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
typography: (theme) => ({
DEFAULT: {
css: {
color: theme('colors.gray.50'),
'h1, h2, h3, h4, h5': {
color: theme('colors.gray.50'),
'&:first-of-type': {
marginTop: 0,
},
},
a: {
color: theme('colors.green.500'),
transition: 'all 200ms',
'&:hover': {
color: theme('colors.green.600'),
},
},
},
},
}),
colors: {
gray: {
'50': '#f5f6f5',
'100': '#ececec',
'200': '#cfd0cf',
'300': '#b2b3b3',
'400': '#787b79',
'500': '#3e4240',
'600': '#383b3a',
'700': '#2f3230',
'800': '#252826',
'900': '#1e201f'
},
green: {
'50': '#f5fff5',
'100': '#ebffeb',
'200': '#ccffcc',
'300': '#adffad',
'400': '#70ff70',
'500': '#33ff33',
'600': '#2ee62e',
'700': '#26bf26',
'800': '#1f991f',
'900': '#197d19'
}
},
fontFamily: {
mono: '"Share Tech Mono", monospace'
}
},
container: {
padding: '2rem',
center: true,
},
},
variants: {
extend: {},
},
plugins: [
require('@tailwindcss/typography'),
],
}