-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
53 lines (51 loc) · 1.21 KB
/
tailwind.config.ts
File metadata and controls
53 lines (51 loc) · 1.21 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
44
45
46
47
48
49
50
51
52
53
import type { Config } from "tailwindcss";
const config: Config = {
darkMode: 'class',
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
"./content/**/*.{md,mdx,mdoc}",
"./markdoc/**/*.{js,ts}",
],
theme: {
extend: {
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
},
typography: {
DEFAULT: {
css: {
maxWidth: 'none',
color: 'inherit',
a: {
color: '#3b82f6',
textDecoration: 'none',
'&:hover': {
textDecoration: 'underline',
},
},
code: {
color: '#ec4899',
backgroundColor: '#f3f4f6',
padding: '2px 6px',
borderRadius: '4px',
fontWeight: '400',
},
'code::before': {
content: 'none',
},
'code::after': {
content: 'none',
},
},
},
},
},
},
plugins: [
require('@tailwindcss/typography'),
],
};
export default config;