forked from NotHarshhaa/DevOps-Tool-Installer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
66 lines (64 loc) · 1.83 KB
/
tailwind.config.ts
File metadata and controls
66 lines (64 loc) · 1.83 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
54
55
56
57
58
59
60
61
62
63
64
65
66
import type { Config } from 'tailwindcss'
const config: Config = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
darkMode: 'class',
theme: {
extend: {
colors: {
background: 'var(--background)',
foreground: 'var(--foreground)',
muted: 'var(--muted)',
'muted-foreground': 'var(--muted-foreground)',
card: 'var(--card)',
'card-foreground': 'var(--card-foreground)',
popover: 'var(--popover)',
'popover-foreground': 'var(--popover-foreground)',
border: 'var(--border)',
input: 'var(--input)',
primary: 'var(--primary)',
'primary-foreground': 'var(--primary-foreground)',
secondary: 'var(--secondary)',
'secondary-foreground': 'var(--secondary-foreground)',
accent: 'var(--accent)',
'accent-foreground': 'var(--accent-foreground)',
destructive: 'var(--destructive)',
'destructive-foreground': 'var(--destructive-foreground)',
ring: 'var(--ring)',
},
typography: {
DEFAULT: {
css: {
maxWidth: 'none',
color: 'inherit',
a: {
color: 'var(--primary)',
'&:hover': {
color: 'var(--primary-foreground)',
},
},
code: {
color: 'inherit',
padding: '0.2em 0.4em',
borderRadius: '0.25rem',
backgroundColor: 'var(--muted)',
},
'code::before': {
content: '""',
},
'code::after': {
content: '""',
},
},
},
},
},
},
plugins: [
require('@tailwindcss/typography'),
],
}
export default config