-
Notifications
You must be signed in to change notification settings - Fork 7
/
tailwind.config.ts
38 lines (37 loc) · 1.09 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
import aspectRatio from '@tailwindcss/aspect-ratio';
import forms from '@tailwindcss/forms';
import typography from '@tailwindcss/typography';
import type { Config } from 'tailwindcss';
import colors from 'tailwindcss/colors';
export default {
content: ['./src/**/*.{ts,tsx}'],
theme: {
extend: {
fontFamily: {
primary: ['var(--font-inter)', 'sans-serif']
},
animation: {
bounce200: 'bounce 1s infinite 200ms',
bounce400: 'bounce 1s infinite 400ms'
},
gridTemplateRows: {
'[auto,auto,1fr]': 'auto auto 1fr'
},
colors: {
// Primary brand color for links, buttons, etc.
primary: colors.gray,
// A contrast color for emphasizing UI
accent: colors.sky,
// Body foreground color
body: colors.gray,
// Inverted body foreground color, for e.g., a dark theme
inverted: colors.white,
// Body background color
background: colors.white,
// Form text
form: colors.gray
}
}
},
plugins: [forms, aspectRatio, typography]
} satisfies Config;