forked from nature-of-code/noc-book-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
38 lines (38 loc) · 858 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
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
theme: {
extend: {
colors: {
noc: {
400: '#eb005a',
600: '#d30051',
},
},
typography: ({ theme }) => ({
DEFAULT: {
css: {
blockquote: {
quotes: 'none',
'& > p': {
marginTop: '0.4em',
marginBottom: '0.4em',
},
},
code: {
background: theme('colors.gray[100]'),
padding: '0.2em 0.4em',
borderRadius: '0.2em',
},
'code::before': {
content: '""',
},
'code::after': {
content: '""',
},
},
},
}),
},
},
plugins: [require('@tailwindcss/typography')],
};