-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
47 lines (47 loc) · 1.44 KB
/
tailwind.config.js
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
42
43
44
45
46
47
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/app/**/*.{js,ts,jsx,tsx}',
'./src/pages/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
backgroundImage: {
background: "url('/assets/images/background.png')",
stars: "url('/assets/images/stars.png')",
tavern: "url('/assets/images/tavern.png')",
cat: "url('/assets/images/cat.png')",
},
keyframes: {
wiggle: {
'0%, 100%': { transform: 'rotate(-4deg)' },
'50%': { transform: 'rotate(4deg)' },
},
shake: {
'10%, 90%': { transform: 'translate3d(-1px, 0, 0)' },
'20%, 80%': { transform: 'translate3d(2px, 0, 0)' },
'30%, 50%, 70%': { transform: 'translate3d(-4px, 0, 0)' },
'40%, 60%': { transform: 'translate3d(4px, 0, 0)' },
},
wandwave: {
'0%': { transform: 'rotateY(0deg)' },
'50%': { transform: 'rotateY(180deg)' },
'100%': { transform: 'rotateY(0deg)' },
},
},
animation: {
wiggle: 'wiggle 3s ease-in-out infinite',
shake: 'shake 0.82s cubic-bezier(.36,.07,.19,.97) both',
wandwave: 'wandwave 1s linear infinite',
},
gridTemplateColumns: {
form: '1.5fr 1fr',
suggestions: 'repeat(auto-fill, minmax(200px, 1fr))',
},
width: {
suggestionTitle: 'calc(100% + 0.5rem)',
},
},
},
plugins: [],
};