-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtailwind.config.ts
37 lines (36 loc) · 1.39 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
import type { Config } from "tailwindcss";
export default {
darkMode: 'class',
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
typography: ({ theme }: any) => ({
dark: {
css: {
'--tw-prose-body': theme('colors.gray[300]'),
'--tw-prose-headings': theme('colors.gray[100]'),
'--tw-prose-lead': theme('colors.gray[300]'),
'--tw-prose-links': theme('colors.blue[400]'),
'--tw-prose-bold': theme('colors.gray[100]'),
'--tw-prose-counters': theme('colors.gray[400]'),
'--tw-prose-bullets': theme('colors.gray[400]'),
'--tw-prose-hr': theme('colors.gray[700]'),
'--tw-prose-quotes': theme('colors.gray[300]'),
'--tw-prose-quote-borders': theme('colors.gray[700]'),
'--tw-prose-captions': theme('colors.gray[400]'),
'--tw-prose-code': theme('colors.gray[100]'),
'--tw-prose-pre-code': theme('colors.gray[300]'),
'--tw-prose-pre-bg': theme('colors.gray[900]'),
'--tw-prose-th-borders': theme('colors.gray[700]'),
'--tw-prose-td-borders': theme('colors.gray[700]'),
},
},
}),
},
},
plugins: [require('@tailwindcss/typography')],
} satisfies Config;