-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
74 lines (71 loc) · 1.63 KB
/
tailwind.config.ts
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
import type { Config } from 'tailwindcss';
type ThemeFunction = (path: string) => string;
const config: Config = {
content: [
'./app/**/*.{js,ts,jsx,tsx}',
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
fontFamily: {
geist: ['geist', 'sans-serif'],
epilogue: ['epilogue', 'sans-serif'],
outfit: ['outfit', 'sans-serif'],
},
colors: {
neutral: {
900: '#1f2937',
},
gray: {
100: '#f7fafc',
300: '#d1d5db',
900: '#111827',
},
violet: {
700: '#5b21b6',
500: '#8b5cf6',
},
},
lineHeight: {
relaxed: '1.5',
loose: '2.0',
},
maxWidth: {
content: '1140px',
},
screens: {
tablet: '640px',
desktop: '1024px',
xl: '1280px',
},
typography: (theme: ThemeFunction) => ({
DEFAULT: {
css: {
color: theme('colors.gray.300'),
a: {
color: theme('colors.violet.400'),
'&:hover': {
color: theme('colors.violet.500'),
},
},
h1: {
color: theme('colors.gray.300'),
},
h2: {
color: theme('colors.gray.300'),
},
h3: {
color: theme('colors.gray.400'),
},
h4: {
color: theme('colors.gray.500'),
},
},
},
}),
},
},
plugins: [require('@tailwindcss/typography')],
};
export default config;