-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
50 lines (49 loc) · 1.49 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
48
49
50
const colors = require("tailwindcss/colors");
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{js,ts,jsx,tsx,mdx}"],
theme: {
colors: {
current: "currentColor",
primary: colors.purple["500"],
secondary: colors.pink["500"],
success: colors.green["500"],
danger: colors.red["500"],
warning: colors.yellow["300"],
info: colors.cyan["500"],
light: colors.gray["50"],
gray: colors.gray["500"],
dark: colors.gray["950"],
},
extend: {
keyframes: {
move: {
"0%": { transform: "translate3d(0,0,0)" },
"100%": { transform: "translate3d(var(--tw-move,100%),0,0)" },
},
deepPulse: {
"0%, 100%": { opacity: 1 },
"50%": { opacity: 0 },
},
deepBounce: {
"0%, 100%": { transform: "translateY(-50%)" },
"50%": { transform: "translateY(0)" },
},
around: {
"0%": { transform: "translate3d(12%,-12%,0)" },
"25%": { transform: "translate3d(12%,12%,0)" },
"50%": { transform: "translate3d(-12%,12%,0)" },
"75%": { transform: "translate3d(-12%,-12%,0)" },
"100%": { transform: "translate3d(0,0,0)" },
},
},
animation: {
move: "move 30s alternate linear infinite",
deepPulse: "deepPulse 1s alternate infinite",
deepBounce: "deepBounce 1s infinite",
around: "around 1s infinite",
},
},
},
plugins: [],
};