-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtailwind.config.ts
71 lines (68 loc) · 1.7 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
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: {
screens: {
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
},
extend: {
colors: {
// primary
orange: '#FFB800',
// secondary
pink: '#FF5E6B',
grey: '#333333',
charcoal: '#1E1E1E',
light: 'rgba(255, 255, 255, 0.2)',
},
fontFamily: {
sans: ['Inter', 'sans-serif'],
},
fontSize: {
xs: '1rem',
sm: '1.2rem',
md: '1.8rem',
xl: '2.2rem',
xxl: '3.8rem',
},
typography: () => ({
DEFAULT: {
css: {
ul: {
'list-style-type': 'square',
},
},
},
black: {
css: {
'--tw-prose-body': '#000',
'--tw-prose-headings': '#000',
'--tw-prose-lead': '#000',
'--tw-prose-links': '#000',
'--tw-prose-bold': '#000',
'--tw-prose-counters': '#000',
'--tw-prose-bullets': '#000',
'--tw-prose-hr': '#000',
'--tw-prose-quotes': '#000',
'--tw-prose-quote-borders': '#000',
'--tw-prose-captions': '#000',
'--tw-prose-code': '#000',
'--tw-prose-pre-code': '#fff',
'--tw-prose-pre-bg': '#000',
'--tw-prose-th-borders': '#000',
'--tw-prose-td-borders': '#000',
},
},
}),
},
},
plugins: [require('@tailwindcss/typography')],
}
export default config