-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
75 lines (73 loc) · 1.33 KB
/
tailwind.config.ts
File metadata and controls
75 lines (73 loc) · 1.33 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
67
68
69
70
71
72
73
74
75
import type { Config } from 'tailwindcss';
import typography from '@tailwindcss/typography';
const config: Config = {
content: ['./src/**/*.{html,js,svelte,ts}'],
darkMode: 'class',
theme: {
extend: {
colors: {
accent: {
50: '#f5f3ff',
100: '#ede9fe',
200: '#ddd6fe',
300: '#c4b5fd',
400: '#a78bfa',
500: '#8b5cf6',
600: '#7c3aed',
700: '#6d28d9',
800: '#5b21b6',
900: '#4c1d95',
950: '#2e1065'
}
},
fontFamily: {
sans: [
'Inter',
'system-ui',
'-apple-system',
'BlinkMacSystemFont',
'Segoe UI',
'Roboto',
'sans-serif'
]
},
typography: {
DEFAULT: {
css: {
maxWidth: 'none',
color: '#475569',
a: {
color: '#7c3aed',
'&:hover': {
color: '#6d28d9'
}
},
'code::before': {
content: '""'
},
'code::after': {
content: '""'
},
code: {
color: '#1f2937',
backgroundColor: '#f3f4f6',
padding: '0.25rem 0.375rem',
borderRadius: '0.25rem',
fontWeight: '400'
},
'pre code': {
backgroundColor: 'transparent',
padding: '0'
},
pre: {
backgroundColor: '#1f2937',
color: '#e5e7eb'
}
}
}
}
}
},
plugins: [typography]
};
export default config;