-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
32 lines (30 loc) · 937 Bytes
/
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
import type { Config } from 'tailwindcss';
import type { PluginUtils } from 'tailwindcss/types/config';
const config: Config = {
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 }: PluginUtils) => ({
invert: {
css: {
'--tw-prose-invert-counters': theme('colors.white'),
'--tw-prose-bullets': theme('colors.white'),
'--tw-prose-invert-headings': theme('colors.white'),
'--tw-prose-invert-body': theme('colors.white'),
},
},
}),
colors: {
background: 'var(--background)',
foreground: 'var(--foreground)',
},
},
},
// eslint-disable-next-line @typescript-eslint/no-require-imports
plugins: [require('@tailwindcss/typography')],
};
export default config;