-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
41 lines (40 loc) · 996 Bytes
/
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
module.exports = {
content: [
'./index.html', // Adjust this to your project's file paths
'./src/**/*.{html,js,ts,jsx,tsx}', // Adjust this to your project's file paths
],
theme: {
extend: {
typography: {
DEFAULT: {
css: {
color: '#333',
h1: {
color: '#111',
fontWeight: '700',
},
h2: {
color: '#222',
fontWeight: '600',
},
p: {
color: '#555',
},
a: {
color: '#1d4ed8',
textDecoration: 'underline',
},
},
},
},
fontFamily: {
sans: ['Inter', 'ui-sans-serif', 'system-ui'],
serif: ['Merriweather', 'ui-serif', 'Georgia'],
mono: ['Fira Code', 'ui-monospace', 'SFMono-Regular'],
},
},
},
plugins: [
require('@tailwindcss/typography'), // Ensure you install this plugin
],
};