-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
37 lines (35 loc) · 1.23 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
import type { Config } from 'tailwindcss';
const config: Config = {
content: ['./components/**/*.{ts,tsx}', './app/**/*.{ts,tsx}'],
// darkMode: 'class',
theme: {
extend: {
backgroundImage: {
'rainbow': "url('/rrrainbow.svg')",
'abstract': "url('/aaabstract.png')",
'abstract2': "url('/aaabstract2.jpeg')",
'noise': "url('/nnnoise.svg')",
},
animation: {
enter: 'enter 0.2s ease-out forwards',
leave: 'leave 0.2s ease-in forwards',
},
keyframes: {
enter: {
'0%': { opacity: '0', transform: 'scale(0.9)' },
'100%': { opacity: '1', transform: 'scale(1)' },
},
leave: {
'0%': { opacity: '1', transform: 'scale(1)' },
'100%': { opacity: '0', transform: 'scale(0.9)' },
},
},
transitionProperty: {
width: 'width',
spacing: 'margin, padding',
},
},
},
plugins: [require('@tailwindcss/forms'), require('autoprefixer')],
};
export default config;