-
-
Notifications
You must be signed in to change notification settings - Fork 236
/
tailwind.config.js
57 lines (57 loc) · 1.43 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
51
52
53
54
55
56
57
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: [
'./lib/**/*.{js,ts,jsx,tsx}',
'./app/**/*.{js,ts,jsx,tsx}',
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./layouts/**/*.{js,ts,jsx,tsx}',
'./content/**/*.{md,mdx}',
],
theme: {
extend: {
spacing: {
2.75: '0.6875rem',
12: '3rem',
20: '5rem',
30: '7.5rem',
38: '9.5rem',
46: '11.5rem',
58: '14.5rem',
88: '22rem',
},
fontFamily: {
sans: [
'system-ui',
'-apple-system',
'BlinkMacSystemFont',
'Segoe UI',
'Roboto',
'Oxygen',
'Ubuntu',
'Cantarell',
'Fira Sans',
'Droid Sans',
'Helvetica Neue',
'sans-serif',
],
monosans: ['Helvetica Neue', 'sans-serif'],
code: ['source-code-pro', 'Menlo', 'Monaco', 'Consolas', 'Courier New', 'monospace'],
monospace: ['source-code-pro', 'Menlo', 'Monaco', 'Consolas', 'Courier New', 'monospace'],
},
colors: {
brand: '#fdb952',
},
typography: (theme) => ({
zinc: {
css: {
'--tw-prose-body': theme('colors.zinc.900'),
'--tw-prose-invert-body': theme('colors.zinc.100'),
},
},
}),
},
},
plugins: [require('@tailwindcss/typography')],
};