-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
41 lines (38 loc) · 987 Bytes
/
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
import typographyPlugin from '@tailwindcss/typography'
import typography from './typography'
import defaultTheme from 'tailwindcss/defaultTheme'
/** @type {import('tailwindcss').Config} */
const tailwind = {
content: [
// "./app/**/*.{js,ts,jsx,tsx}",
// "./pages/**/*.{js,ts,jsx,tsx}",
// "./components/**/*.{js,ts,jsx,tsx}",
'./content/**/*.{md,mdx}',
'./src/**/*.{js,ts,jsx,tsx}',
],
darkMode: 'class',
theme: {
extend: {},
},
plugins: [
typographyPlugin,
// require('@tailwindcss/forms'),
// require('@tailwindcss/aspect-ratio'),
// require('@headlessui/tailwindcss'),
],
theme: {
screens: {
xs: '480px',
...defaultTheme.screens,
},
// fontSize: {},
extend: {
typography: typography,
fontFamily: {
sans: ['var(--font-inter)', ...defaultTheme.fontFamily.sans],
mono: ['var(--font-fira)', ...defaultTheme.fontFamily.mono],
},
},
},
}
export default tailwind