-
Notifications
You must be signed in to change notification settings - Fork 102
/
tailwind.config.cjs
31 lines (31 loc) · 1.15 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
container: {
center: true,
padding: "1.5rem",
},
extend: {
keyframes: {
shake: {
"0%": { transform: "translate(1px, 1px) rotate(0deg)" },
"10%": { transform: "translate(-1px, -2px) rotate(-1deg)" },
"20%": { transform: "translate(-3px, 0px) rotate(1deg)" },
"30%": { transform: "translate(3px, 2px) rotate(0deg)" },
"40%": { transform: "translate(1px, -1px) rotate(1deg)" },
"50%": { transform: "translate(-1px, 2px) rotate(-1deg)" },
"60%": { transform: "translate(-3px, 1px) rotate(0deg)" },
"70%": { transform: "translate(3px, 1px) rotate(-1deg)" },
"80%": { transform: "translate(-1px, -1px) rotate(1deg)" },
"90%": { transform: "translate(1px, 2px) rotate(0deg)" },
"100%": { transform: "translate(1px, -2px) rotate(-1deg)" },
},
},
animation: {
shake: "shake 0.5s infinite",
},
},
},
plugins: [require("@tailwindcss/aspect-ratio")],
};