-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
85 lines (85 loc) · 2.27 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
darkMode: 'class',
theme: {
extend: {
screens: {
sm: "480px",
md: "768px",
lg: "1080px"
},
colors: {
lightmBg: "#F5F7FA",
lightpText: "#0A1A33",
lightsText: "#4C5B6B",
lightTheme: "#007ACC",
mainBg: "#121212",
primaryText: "#F5F7FA",
secondaryText: "#B3C2D1",
themeBlue: "#FFAA33",
},
fontFamily: {
fontHeading: "Poppins, sans-serif",
fontParagraph: "Mulish, sans-serif"
},
fontSize: {
textSize: "1.7rem",
heroSize: "5.5rem",
heroTextSize: "1.8rem",
headingsSize: "2.5rem",
smallSize: "clamp(18px, 4vw, 22px)",
clamp1: "clamp(14px, 5vw,16px)",
clamp2: "clamp(25px, 5vw, 50px)",
sectionHeading: "clamp(24px, 5vw, 32px)",
clamp3: "clamp(35px, 5vw, 50px)"
},
boxShadow: {
buttonShadow: "3px 3px 0 0 #4C5B6B",
aboutShadow: "0 10px 30px -15px rgba(2,12,27,0.7)",
bigShadow: "0 20px 30px -15px rgba(2,12,27,0.7);"
},
dropShadow: {
buttonShadow: "3px 3px 0 #64FFDA"
},
animation: {
custom: "scale .2s linear 2.5s",
morph: "morph 4s ease-in-out infinite both alternate",
},
keyframes: {
scale: {
"0%": { transform: "scale(1)", display: "block" }, "100%": { transform: "scale(0)", display: "none" }
},
morph: {
"0%": {
borderRadius: "40% 60% 60% 40% / 60% 30% 70% 40%"
},
"100%": {
borderRadius: "40% 60%"
}
},
},
borderRadius: {
custom: "60% 40% 30% 70%/60% 30% 70% 40%"
},
gridTemplateColumns: {
custom: "repeat(2, minmax(140px, 200px))",
otherProjects: "repeat(auto-fill, minmax(300px, 1fr))",
otherProjectsSmaller: "repeat(auto-fill, minmax(250px, 1fr))",
},
gridColumn: {
mdScreen: "1 / 9",
mdScreenRev: "5 / -1",
lgScreen: "7 / -1",
lgScreenRev: "1 / 8",
full: "1 / -1",
lgContent: "1 / 7",
lgImage: "6 / -1"
}
},
},
plugins: [],
}