-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
42 lines (42 loc) · 1.01 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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
typography: {
DEFAULT: {
css: {
'code::before': {
content: '""'
},
'code::after': {
content: '""'
},
code: {
backgroundColor: '#f3f4f6',
padding: '0.25rem 0.375rem',
borderRadius: '0.25rem',
fontSize: '0.875em'
},
pre: {
backgroundColor: '#1e293b',
color: '#e2e8f0',
padding: '1rem',
borderRadius: '0.5rem',
overflowX: 'auto',
code: {
backgroundColor: 'transparent',
padding: 0,
color: 'inherit',
fontSize: '0.875em'
}
}
}
}
}
}
},
plugins: [
require('@tailwindcss/typography')
],
};