-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
78 lines (77 loc) · 2.17 KB
/
tailwind.config.js
File metadata and controls
78 lines (77 loc) · 2.17 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*.{js,ts,jsx,tsx,mdx}",
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
screens: {
sm: "375px", //mobile M
md: "768px", //tablet
lg: "1024px", //laptop
xl: "1280px", //laptop L
"2xl": "2560px", //4k
},
fontSize: {
sm: "1rem",
md: "1.2rem",
lg: "1.5rem",
xl: "2.5rem",
"2xl": "4rem",
},
colors: {
"gradient-purple": "#8C6DFF",
"gradient-blue": "#36D1DC",
"gradient-green": "#00E573",
"gradient-yellow": "#FDBB39",
bgCyan: "rgb(194, 222, 220)",
},
backgroundImage: {
gradientBg:
"linear-gradient(60deg, white, rgb(194, 222, 220), rgb(237, 228, 255))",
underlinedText1: "linear-gradient(90deg, #85c1e9, #76d7c4)",
underlinedText2: "linear-gradient(90deg, #f8c471, #f9e79f)",
underlinedText3: "linear-gradient(90deg, #c39bd3, #f1948a)",
},
backgroundSize: {
hugeBg: "600% 600%",
underlinedBg: "100% 40%",
},
fontFamily: {
abril: "Abril Fatface",
poppins: "Poppins",
},
keyframes: {
float: {
"0%, 100%": {
transform: "translateY(-4%)",
animationTimingFunction: "cubic-bezier(0.8, 0, 1, 1)",
},
"50%": {
transform: "translateY(0)",
animationTimingFunction: "cubic-bezier(0, 0, 0.2, 1)",
},
},
bgAnimation: {
"0%": { backgroundPosition: "0 85%" },
"50%": { backgroundPosition: "100% 20%" },
"100%": { backgroundPosition: "0 65%" },
},
},
animation: {
float: "float 5s ease-in-out infinite",
bgAnimation: "bgAnimation 18s infinite linear",
},
gridTemplateColumns: {
projectsCard: "4px, 2fr, 1fr",
projectsCardReversed: "1fr, 2fr, 4px",
},
boxShadow: {
customShadow: "rgba(0, 0, 0, 0.45) 0px 25px 20px -20px",
customShadow2: "rgba(38, 57, 77,.5) 0px 20px 20px -10px",
},
},
},
plugins: [],
};