forked from kasuie/remio-home
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
55 lines (54 loc) · 1.47 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/*
* @Author: kasuie
* @Date: 2024-05-20 19:31:13
* @LastEditors: kasuie
* @LastEditTime: 2024-06-06 10:40:20
* @Description:
*/
import type { Config } from "tailwindcss";
const config: Config = {
darkMode: "class",
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
keyframes: {
"mio-pulse": {
"0%": { opacity: "100" },
"50%": { opacity: "0" },
"100%": { opacity: "100" },
},
"mio-rotation": {
"0%": { transform: "rotateZ(0deg)" },
"100%": { transform: "rotateZ(360deg)" },
},
"mio-floating": {
"0%": { transform: "translateY(0px)" },
"50%": { transform: "translateY(10px)" },
"100%": { transform: "translateY(0px)" }
}
},
transitionTimingFunction: {
"mio-tooltip": "cubic-bezier(0.68, -0.55, 0.265, 1.55)",
},
boxShadow: {
"mio-link":
"0 2px 4px 0 rgba(136, 144, 195, 0.2), 0 5px 15px 0 rgba(37, 44, 97, 0.15)",
},
colors: {
"mio-main": "hsl(var(--mio-background))",
"mio-bg": "rgba(var(--mio-bg))",
"mio-content": "rgba(var(--mio-text-default))",
},
textColor: {
"mio-text-color": "rgba(var(--mio-text-color))",
"mio-text-default": "hsl(var(--mio-foreground))",
}
},
},
plugins: [],
};
export default config;