-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.ts
41 lines (39 loc) · 969 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
33
34
35
36
37
38
39
40
41
import type { Config } from 'tailwindcss';
import containerQueries from '@tailwindcss/container-queries';
import forms from '@tailwindcss/forms';
import typography from '@tailwindcss/typography';
import { fontFamily } from 'tailwindcss/defaultTheme';
export default {
content: [
'./app/**/*.{mdx,ts,tsx}',
'./components/**/*.{mdx,ts,tsx}',
'./lib/**/*.{mdx,ts,tsx}',
],
darkMode: 'class',
future: {
hoverOnlyWhenSupported: true,
},
plugins: [containerQueries, forms, typography],
theme: {
extend: {
container: {
screens: {
'2xl': '64rem',
lg: '48rem',
xl: '64rem',
},
},
fontFamily: {
mono: ['var(--font-geist-mono)', ...fontFamily.mono],
sans: ['var(--font-geist-sans)', ...fontFamily.sans],
},
typography: {
DEFAULT: {
css: {
maxWidth: '70ch',
},
},
},
},
},
} satisfies Config;