-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.ts
52 lines (49 loc) · 1.14 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import type { Config } from 'tailwindcss'
type Theme = {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
theme: (path: string, defaultValue?: unknown) => any
}
const config = {
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}'
],
theme: {
fontFamily: {
sans: [
'var(--font-inter)',
'ui-sans-serif',
'system-ui',
'-apple-system',
'BlinkMacSystemFont',
'"Segoe UI"',
'Roboto',
'"Helvetica Neue"',
'Arial',
'"Noto Sans"',
'sans-serif',
'"Apple Color Emoji"',
'"Segoe UI Emoji"',
'"Segoe UI Symbol"',
'"Noto Color Emoji"'
]
},
extend: {
minHeight: ({ theme }: Theme) => ({
...theme('spacing')
}),
maxHeight: ({ theme }: Theme) => ({
...theme('spacing')
}),
minWidth: ({ theme }: Theme) => ({
...theme('spacing')
}),
maxWidth: ({ theme }: Theme) => ({
...theme('spacing')
})
}
},
plugins: []
} satisfies Config
export default config