-
Notifications
You must be signed in to change notification settings - Fork 146
/
tailwind.config.js
101 lines (100 loc) · 3.67 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
const defaultTheme = require('tailwindcss/defaultTheme')
// tailwind.config.js
module.exports = {
content: ['./layouts/**/*.html', './content/**/*.md'],
darkMode: 'class',
theme: {
extend: {
colors: {
transparent: 'transparent',
current: 'currentColor',
'primary': {
DEFAULT: '#6366F1',
50: '#FFFFFF',
100: '#F9F9FE',
200: '#D3D4FB',
300: '#AEAFF8',
400: '#888BF4',
500: '#6366F1',
600: '#3034EC',
700: '#1317D1',
800: '#0E119E',
900: '#0A0C6A'
},
'secondary': {
DEFAULT: '#EC4899',
50: '#FDEEF6',
100: '#FBDCEB',
200: '#F8B7D7',
300: '#F492C2',
400: '#F06DAE',
500: '#EC4899',
600: '#E4187D',
700: '#B11261',
800: '#7F0D45',
900: '#4C0829'
},
'neutral': {
DEFAULT: '#6B7280',
50: '#CDD0D5',
100: '#C2C5CC',
200: '#ACB0BA',
300: '#969BA7',
400: '#7F8694',
500: '#6B7280',
600: '#515761',
700: '#383C43',
800: '#1E2024',
900: '#050506'
},
// To change these, use https://www.tailwindshades.com/ with https://tailwindcss.com/docs/customizing-colors or create your own custom colors.
},
lineHeight: {
'extra-loose': '2.5',
'12': '3rem',
},
typography: (theme) => ({
DEFAULT: {
css: {
'--tw-prose-body': theme('colors.zinc[800]'),
'--tw-prose-headings': theme('colors.zinc[900]'),
'--tw-prose-lead': theme('colors.zinc[700]'),
'--tw-prose-links': theme('colors.zinc[900]'),
'--tw-prose-bold': theme('colors.zinc[900]'),
'--tw-prose-counters': theme('colors.zinc[600]'),
'--tw-prose-bullets': theme('colors.zinc[400]'),
'--tw-prose-hr': theme('colors.zinc[300]'),
'--tw-prose-quotes': theme('colors.zinc[900]'),
'--tw-prose-quote-borders': theme('colors.zinc[300]'),
'--tw-prose-captions': theme('colors.zinc[700]'),
'--tw-prose-code': theme('colors.indigo[500]'),
'--tw-prose-pre-code': theme('colors.indigo[300]'),
'--tw-prose-pre-bg': theme('colors.gray[900]'),
'--tw-prose-th-borders': theme('colors.zinc[300]'),
'--tw-prose-td-borders': theme('colors.zinc[200]'),
'--tw-prose-invert-body': theme('colors.zinc[200]'),
'--tw-prose-invert-headings': theme('colors.white'),
'--tw-prose-invert-lead': theme('colors.zinc[300]'),
'--tw-prose-invert-links': theme('colors.indigo[400]'),
'--tw-prose-invert-bold': theme('colors.white'),
'--tw-prose-invert-counters': theme('colors.zinc[400]'),
'--tw-prose-invert-bullets': theme('colors.zinc[200]'),
'--tw-prose-invert-hr': theme('colors.zinc[500]'),
'--tw-prose-invert-quotes': theme('colors.zinc[100]'),
'--tw-prose-invert-quote-borders': theme('colors.zinc[700]'),
'--tw-prose-invert-captions': theme('colors.zinc[400]'),
'--tw-prose-invert-code': theme('colors.indigo[400]'),
'--tw-prose-invert-pre-code': theme('colors.indigo[300]'),
'--tw-prose-invert-pre-bg': theme('colors.gray[900]'),
'--tw-prose-invert-th-borders': theme('colors.zinc[100]'),
'--tw-prose-invert-td-borders': theme('colors.zinc[500]'),
},
},
}),
},
},
variants: {
typography: ["dark"],
},
plugins: [require("@tailwindcss/typography")],
};