generated from chiffre-io/template-library
-
-
Notifications
You must be signed in to change notification settings - Fork 135
/
Copy pathtailwind.config.ts
38 lines (36 loc) · 987 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
import headlessUI from '@headlessui/tailwindcss'
import containerQueries from '@tailwindcss/container-queries'
import { createPreset as createFumadocsPreset } from 'fumadocs-ui/tailwind-plugin'
import type { Config } from 'tailwindcss'
import tailwindAnimate from 'tailwindcss-animate'
import shadcnPreset from './tailwind.shadcn'
import tremorPreset from './tailwind.tremor'
const tailwindConfig: Config = {
darkMode: 'class',
content: [
'./src/**/*.tsx',
'./content/**/*.mdx',
'./content/**/*.tsx',
'./mdx-components.tsx',
'./node_modules/fumadocs-ui/dist/**/*.js',
'./node_modules/@tremor/**/*.{js,ts,jsx,tsx}'
],
theme: {
container: {
center: true,
padding: '2rem',
screens: {
'2xl': '1400px'
}
}
},
presets: [
createFumadocsPreset({
layoutWidth: '1600px'
}),
shadcnPreset,
tremorPreset
],
plugins: [tailwindAnimate, containerQueries, headlessUI]
}
export default tailwindConfig