This repository was archived by the owner on Dec 11, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
66 lines (65 loc) · 1.68 KB
/
tailwind.config.ts
File metadata and controls
66 lines (65 loc) · 1.68 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: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
colors: {
'brand': {
cyan: '#06b6d4',
violet: '#8b5cf6',
orange: '#f97316',
purple: '#9333ea',
}
},
typography: (theme: any) => ({
DEFAULT: {
css: {
maxWidth: 'none',
color: theme('colors.gray.700'),
a: {
color: theme('colors.brand.violet'),
'&:hover': {
color: theme('colors.brand.purple'),
},
},
h1: {
fontWeight: '900',
background: 'linear-gradient(to right, #06b6d4, #8b5cf6, #f97316)',
backgroundClip: 'text',
WebkitBackgroundClip: 'text',
WebkitTextFillColor: 'transparent',
},
h2: {
fontWeight: '800',
color: theme('colors.gray.900'),
},
h3: {
fontWeight: '700',
color: theme('colors.gray.800'),
},
code: {
backgroundColor: theme('colors.gray.100'),
padding: '0.25rem 0.375rem',
borderRadius: '0.25rem',
fontWeight: '600',
},
'code::before': {
content: '""',
},
'code::after': {
content: '""',
},
},
},
}),
},
},
plugins: [
require('@tailwindcss/typography'),
],
}
export default config