-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
95 lines (95 loc) · 2.8 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
89
90
91
92
93
94
95
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx}",
"./src/components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
fontFamily: {
archivoBlack: ["Archivo Black", "sans-serif"],
lato: ["Lato", "sans-serif"],
corben: ["Corben", "cursive"],
inter: ["Inter", "sans-serif"],
kronaOne: ["Krona One", "sans-serif"],
kodchasan: ["kodchasan", "sans-serif"],
exo: ["Exo", "sans-serif"],
poppins: ["Poppins", "sans-serif"],
prompt: ["Prompt", "sans-serif"],
dmSans: ["DM Sans", "sans-serif"],
raleway: ["Raleway", "sans-serif"],
nunitoSans: ["Nunito Sans", "sans-serif"], // For Main Title
},
backgroundImage: {
"gradient-radial":
"radial-gradient(70% 50% at 50% 35%, rgb(233, 236, 200, 0.75), rgb(222, 236, 220, 0.75), rgb(234, 219, 220, 0.75), #ece4dc)",
"gradient-radial-dark":
"radial-gradient(70% 50% at 50% 35%, rgb(65, 70, 41, 0.5), rgb(45, 77, 71, 0.5), rgb(43, 71, 61, 0.5), #233931)",
},
animation: {
"gradient-x": "gradient-x 45s ease-in-out infinite",
"gradient-y": "gradient-y 3s ease-in-out infinite",
"gradient-xy": "gradient-xy 15s ease-in-out infinite",
},
transitionProperty: {
"shrink-letter-space": "letter-spacing",
},
margin: {
"mb-smooth": "margin-bottom",
},
keyframes: {
"gradient-y": {
"0%, 100%": {
"background-size": "100% 100%",
"background-position": "center bottom",
},
"50%": {
"background-size": "150% 150%",
"background-position": "center center",
},
},
"gradient-x": {
"0%, 100%": {
"background-size": "125% 125%",
"background-position": "50%",
},
"50%": {
"background-size": "125% 125%",
"background-position": "1000%",
},
},
"gradient-xy": {
"0%, 100%": {
"background-size": "400% 400%",
"background-position": "left center",
},
"50%": {
"background-size": "200% 200%",
"background-position": "right center",
},
},
"shrink-letter-space": {
"0%": {
"letter-spacing": "3rem",
},
"100%": {
"letter-spacing": "1rem",
},
},
"mb-smooth": {
"0%": {
"margin-bottom": "0rem",
},
"100%": {
"margin-bottom": "18rem",
},
},
},
},
},
darkMode: "class",
plugins: [],
variants: {
backgroundColor: ["responsive", "hover", "focus", "active"],
},
};