-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
38 lines (37 loc) · 899 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 type { Config } from 'tailwindcss';
module.exports = {
mode: 'jit',
content: [
'./app/**/*.{js,ts,jsx,tsx}',
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
],
darkMode: 'media', // or 'media' or 'class'
theme: {
extend: {
container: {
center: true,
padding: '2rem',
screens: {
'2xl': '900px',
},
},
animation: {
wiggle: 'wiggle 400ms ease-out 500ms 1',
},
keyframes: {
wiggle: {
'0%': { transform: 'rotate(0)' },
'25%': { transform: 'rotate(-10deg)' },
'75%': { transform: 'rotate(10deg)' },
'100%': { transform: 'rotate(0)' },
},
},
},
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
require('@tailwindcss/aspect-ratio'),
],
} satisfies Config;