-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
87 lines (84 loc) · 3.18 KB
/
tailwind.config.ts
File metadata and controls
87 lines (84 loc) · 3.18 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
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
fontFamily: {
sans: ["var(--font-sans)", "Inter", "system-ui", "sans-serif"],
mono: ["var(--font-mono)", "JetBrains Mono", "monospace"],
display: ["var(--font-sans)", "system-ui", "sans-serif"],
},
colors: {
github: {
dark: "#0d1117",
darker: "#010409",
border: "#30363d",
text: "#c9d1d9",
muted: "#8b949e",
accent: "#58a6ff",
green: "#3fb950",
purple: "#a371f7",
pink: "#f778ba",
orange: "#f0883e",
yellow: "#d29922",
},
},
animation: {
"fade-in": "fadeIn 0.5s ease-out",
"slide-up": "slideUp 0.6s ease-out",
"slide-in-right": "slideInRight 0.5s ease-out",
"scale-in": "scaleIn 0.4s ease-out",
"count-up": "countUp 2s ease-out",
"pulse-glow": "pulseGlow 2s infinite",
"gradient-shift": "gradientShift 8s ease infinite",
float: "float 6s ease-in-out infinite",
},
keyframes: {
fadeIn: {
"0%": { opacity: "0" },
"100%": { opacity: "1" },
},
slideUp: {
"0%": { opacity: "0", transform: "translateY(30px)" },
"100%": { opacity: "1", transform: "translateY(0)" },
},
slideInRight: {
"0%": { opacity: "0", transform: "translateX(30px)" },
"100%": { opacity: "1", transform: "translateX(0)" },
},
scaleIn: {
"0%": { opacity: "0", transform: "scale(0.9)" },
"100%": { opacity: "1", transform: "scale(1)" },
},
countUp: {
"0%": { opacity: "0", transform: "translateY(20px)" },
"100%": { opacity: "1", transform: "translateY(0)" },
},
pulseGlow: {
"0%, 100%": { boxShadow: "0 0 20px rgba(88, 166, 255, 0.3)" },
"50%": { boxShadow: "0 0 40px rgba(88, 166, 255, 0.6)" },
},
gradientShift: {
"0%, 100%": { backgroundPosition: "0% 50%" },
"50%": { backgroundPosition: "100% 50%" },
},
float: {
"0%, 100%": { transform: "translateY(0px)" },
"50%": { transform: "translateY(-10px)" },
},
},
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic": "conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
"mesh-gradient":
"radial-gradient(at 40% 20%, hsla(280,100%,74%,1) 0px, transparent 50%), radial-gradient(at 80% 0%, hsla(189,100%,56%,1) 0px, transparent 50%), radial-gradient(at 0% 50%, hsla(355,100%,93%,1) 0px, transparent 50%), radial-gradient(at 80% 50%, hsla(340,100%,76%,1) 0px, transparent 50%), radial-gradient(at 0% 100%, hsla(22,100%,77%,1) 0px, transparent 50%), radial-gradient(at 80% 100%, hsla(242,100%,70%,1) 0px, transparent 50%), radial-gradient(at 0% 0%, hsla(343,100%,76%,1) 0px, transparent 50%)",
},
},
},
plugins: [],
};
export default config;