-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
50 lines (50 loc) · 1.33 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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: ["class"],
content: [
'./pages/**/*.{ts,tsx}',
'./components/**/*.{ts,tsx}',
'./app/**/*.{ts,tsx}',
'./src/**/*.{ts,tsx}',
],
theme: {
extend: {
colors: {
background: "hsl(var(--background))",
foreground: "hsl(var(--foreground))",
muted: "hsl(var(--muted))",
border: "hsl(var(--border))",
},
typography: {
DEFAULT: {
css: {
maxWidth: '65ch',
color: 'hsl(var(--foreground))',
'[class~="lead"]': {
color: 'hsl(var(--muted-foreground))',
},
a: {
color: 'hsl(var(--foreground))',
textDecoration: 'underline',
fontWeight: '500',
},
strong: {
color: 'hsl(var(--foreground))',
fontWeight: '600',
},
code: {
color: 'hsl(var(--foreground))',
backgroundColor: 'hsl(var(--muted))',
paddingLeft: '0.25rem',
paddingRight: '0.25rem',
paddingTop: '0.125rem',
paddingBottom: '0.125rem',
borderRadius: '0.25rem',
},
},
},
},
},
},
plugins: [require("@tailwindcss/typography")],
}