-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
60 lines (60 loc) · 1.72 KB
/
tailwind.config.js
File metadata and controls
60 lines (60 loc) · 1.72 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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: "class",
content: ["./src/**/*.{js,jsx,ts,tsx}"],
theme: {
extend: {
colors: {
"portfolio-white": "#ffffff",
"portfolio-gray": "#808080",
"portfolio-navy": "#031926",
"portfolio-cyan": "#8fe8fa",
"portfolio-dark": "#171717",
"portfolio-green": "#2bf38b",
"slime-green": "#84cc16",
},
fontSize: {
"portfolio-h1": "clamp(1.25rem, 3vw + 1rem, 3rem)",
"portfolio-h2": "clamp(1rem, 1.5vw + 0.75rem, 2rem)",
"portfolio-h3": "clamp(0.75rem, 1vw + 0.5rem, 1.25rem)",
"portfolio-text": "clamp(0.75rem, 1vw + 0.25rem, 1rem)",
},
width: {
"icon-l": "50px",
"icon-s": "30px",
hero: "clamp(100px, 200px, 300px)",
},
height: {
"icon-l": "50px",
"icon-s": "30px",
hero: "clamp(100px, 200px, 300px)",
},
animation: {
rotate: "rotate 10s linear infinite",
fadeIn: "fadeIn 0.5s ease-in",
"scroll-ping-pong": "scroll-ping-pong 10s ease-in-out infinite alternate",
},
keyframes: {
rotate: {
"100%": { transform: "rotate(1turn)" },
},
fadeIn: {
"0%": { opacity: "0" },
"100%": { opacity: "1" },
},
"scroll-ping-pong": {
"0%": { transform: "translateX(0)" },
"100%": { transform: "translateX(var(--scroll-target))" },
},
},
fontFamily: {
lunasima: ["Lunasima", "sans-serif"],
satoshi: ["Satoshi", "sans-serif"],
},
borderWidth: {
5: "5px",
},
},
},
plugins: [require("tailwind-scrollbar")({ nocompatible: true })],
};