-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
88 lines (84 loc) · 2.52 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
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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: "class" /*'[data-mode="dark"]'],*/,
content: ["*.html"],
//content: ['loading.html'],
theme: {
screens: {
sm: "640px",
md: "768px",
lg: "1024px",
xl: "1280px",
"2xl": "1536px",
},
fontFamily: {
display: ["Source Serif Pro", "Georgia", "serif"],
body: ["Synonym", "system-ui", "sans-serif"],
},
extend: {
fontSize: {
h1: "36", // Adjust as needed
h2: "2rem", // Adjust as needed
h3: "1.75rem", // Adjust as needed
h4: "1.5rem", // Adjust as needed
h5: "1.25rem", // Adjust as needed
h6: "1rem", // Adjust as needed
},
fontWeight: {
h1: "700", // Adjust as needed
h2: "600", // Adjust as needed
h3: "500", // Adjust as needed
h4: "400", // Adjust as needed
h5: "300", // Adjust as needed
h6: "200", // Adjust as needed
},
},
animation: {
bounce: "bounce 0.5s infinite",
"bounce-100": "bounce 0.5s 100ms infinite",
"bounce-200": "bounce 0.5s 200ms infinite",
"bounce-300": "bounce 0.5s 300ms infinite",
"bounce-400": "bounce 0.5s 400ms infinite",
"bounce-500": "bounce 0.5s 500ms infinite",
"bounce-600": "bounce 0.5s 600ms infinite",
heartpulse: "heartpulse 1s infinite",
spin: "spin 2s linear infinite",
"spin-200": "spin 0.5s linear infinite",
fadeIn: "fadeIn 2s cubic-bezier(0.25, 1, 0.5, 1)",
},
keyframes: {
fadeIn: {
"0%": { opacity: 0, transform: "translateY(-300px)" },
"10%": { opacity: 0.1 },
"20%": { opacity: 0.2 },
"30%": { opacity: 0.3 },
"40%": { opacity: 0.4 },
"50%": { opacity: 0.5, transform: "translateY(-150px)" },
"60%": { opacity: 0.6 },
"70%": { opacity: 0.7 },
"80%": { opacity: 0.8 },
"90%": { opacity: 0.9 },
"100%": { opacity: 1, transform: "translateY(0)" },
},
bounce: {
"0%": { opacity: 1 },
"50%": { opacity: 0.5 },
"100%": { opacity: 1 },
},
heartpulse: {
"0%": { transform: "scale(1)" },
"50%": { transform: "scale(1.2)" },
"100%": { transform: "scale(1)" },
},
spin: {
"0%": { transform: "rotate(0deg)" },
"100%": { transform: "rotate(360deg)" },
},
},
/*gradientColorStops: {
'gradient-primary': '#00b4d8',
'gradient-secondary': '#00ffcc',
},*/
},
plugins: [],
};