-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathtailwind.config.js
More file actions
97 lines (96 loc) · 2.59 KB
/
tailwind.config.js
File metadata and controls
97 lines (96 loc) · 2.59 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx}",
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
// Or if using `src` directory:
"./src/**/*.{js,ts,jsx,tsx}"
],
theme: {
extend: {
keyframes: {
float: {
"0%": {
transform: "translateX(0)",
transform: "translateY(0)"
},
"50%": {
transform: "translateX(20%)",
transform: "translateY(20%)"
},
"100%": {
transform: "translateX(0)",
transform: "translateY(0)"
}
},
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)"
}
},
flicker: {
"0%": { opacity: "0.8" },
"10%": { opacity: "0.2" },
"20%": { opacity: "0.9" },
"30%": { opacity: "0.4" },
"50%": { opacity: "1" },
"70%": { opacity: "0.3" },
"90%": { opacity: "0.7" },
"100%": { opacity: "0.5" }
}
},
animation: {
float: "float 3s infinite ease-in-out",
shake: "shake 0.82s cubic-bezier(.36,.07,.19,.97) both",
flicker: "flicker 3s infinite"
},
fontSize: {
"fluid-sm": "clamp(0.875rem, 0.8rem + 0.25vw, 1rem)",
"fluid-base": "clamp(1rem, 0.9rem + 0.3vw, 1.125rem)",
"fluid-lg": "clamp(1.125rem, 1rem + 0.5vw, 1.25rem)",
"fluid-xl": "clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem)",
md: "1.25rem",
lg: "1.5rem",
xl: "2rem",
xxl: "3.5rem"
},
colors: {
purple_main: "#E149A9",
purple_300: "#9EA8FF",
purple_hover: "#3b3561",
purple_shadow_blur: "#6F6795",
purple_card: "#1E2D79",
cyan: "#46C8E5",
mint: "#51FFCE"
},
textColor: {
purple_main_hover: "#b49fcc"
},
backgroundColor: {
body_bg: "#FFFAF1"
},
fontFamily: {
audiowide: ["var(--font-audiowide)", "sans-serif"],
bruno: ["Bruno Ace", "sans-serif"],
rubik: ["Rubik", "sans-serif"]
},
borderWidth: {
5: "5px"
},
boxShadow: {
glow: "0 0 8px rgba(70,200,229,0.6)"
}
}
},
plugins: [require("daisyui"), require("tailwind-scrollbar")]
};