-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
41 lines (40 loc) · 931 Bytes
/
tailwind.config.ts
File metadata and controls
41 lines (40 loc) · 931 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
37
38
39
40
41
import type { Config } from 'tailwindcss'
import colors from 'tailwindcss/colors'
import defaultTheme from 'tailwindcss/defaultTheme'
import typography from '@tailwindcss/typography'
export default {
content: ['index.html', './src/**/*.{js,jsx,ts,tsx,mdx}'],
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
light: colors.blue['300'],
lighter: colors.blue['200'],
dark: colors.indigo['600'],
'lighter-dark': colors.indigo['500']
},
muted: {
DEFAULT: colors.slate['300'],
dark: colors.slate['700']
}
},
spacing: {
18: '4.5rem'
}
},
container: {
center: true,
padding: {
DEFAULT: '1rem',
md: '2rem',
xl: '3rem'
}
},
screens: {
...defaultTheme.screens,
xs: '480px'
}
},
plugins: [typography]
} satisfies Config