-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
36 lines (34 loc) · 813 Bytes
/
tailwind.config.ts
File metadata and controls
36 lines (34 loc) · 813 Bytes
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
import type { Config } from 'tailwindcss'
import fluid, { extract, screens, type FluidThemeConfig } from 'fluid-tailwind';
import customAnimations from './custom-animations';
import globalFocus from './global-focus-plugin';
import printHidden from './print-hidden-plugin';
export default {
content: {
files: ['./src/**/*.{astro,html,js,jsx,md,mdx,ts,tsx}'],
extract,
},
darkMode: 'selector',
theme: {
fluid: ({ theme }) => ({
defaultScreens: ['20rem', theme('screens.xl')]
}),
screens: {
...screens,
lg: '58rem'
},
extend: {
letterSpacing: {
'almost-wide': '0.01rem',
},
space: {
'110': '27.5rem',
}
},
},
plugins: [fluid, customAnimations, globalFocus, printHidden],
} satisfies Config & {
theme: Config['theme'] & {
fluid: FluidThemeConfig;
};
};