-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
35 lines (31 loc) · 1.06 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
import colors from 'tailwindcss/colors';
import defaultTheme from 'tailwindcss/defaultTheme';
import tailwindcssForms from '@tailwindcss/forms';
import tailwindcssTypography from '@tailwindcss/typography';
import tailwindcssContainerQueries from '@tailwindcss/container-queries';
import type { Config } from 'tailwindcss';
const tailwindConfig = {
content: ['./src/**/*.{ts,tsx}'],
darkMode: ['selector'],
theme: {
extend: {
container: {
center: true,
padding: {
DEFAULT: '1rem',
},
},
colors: {
primary: colors.cyan,
},
fontFamily: {
sans: [['Inter var', ...defaultTheme.fontFamily.sans], { fontFeatureSettings: "'cv02', 'cv03', 'cv04', 'cv09', 'cv10', 'cv11'" }],
},
screens: {
'2xl': '1536px',
},
},
},
plugins: [tailwindcssForms, tailwindcssTypography, tailwindcssContainerQueries],
} satisfies Config;
export default tailwindConfig;