-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
43 lines (42 loc) · 1.03 KB
/
Copy pathtailwind.config.js
File metadata and controls
43 lines (42 loc) · 1.03 KB
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
import typography from '@tailwindcss/typography';
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
darkMode: 'class',
theme: {
extend: {
typography: {
DEFAULT: {
css: {
maxWidth: 'none',
color: '#374151',
a: {
color: '#2563eb',
textDecoration: 'none',
'&:hover': {
color: '#1d4ed8',
},
},
'h1, h2, h3, h4': {
color: '#111827',
},
code: {
color: '#1f2937',
backgroundColor: '#f3f4f6',
padding: '0.125rem 0.25rem',
borderRadius: '0.25rem',
fontSize: '0.875em',
},
'code::before': {
content: '""',
},
'code::after': {
content: '""',
},
},
},
},
},
},
plugins: [typography],
}