-
Notifications
You must be signed in to change notification settings - Fork 4
/
tailwind.config.js
66 lines (65 loc) · 1.75 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{js,jsx,ts,tsx}"],
theme: {
screens: {
xm: "200px",
sm: "380px",
md: "768px",
lg: "976px",
xl: "1200px",
},
colors: {
transparent: "transparent",
current: "currentColor",
white: "#ffffff",
black: "#00040a",
blue: "#3A76DA",
liteBlue: "#8bace2",
silver: "#f0f3f7",
silverLite: "#fafbfc",
ash: "#666565",
},
extend: {
fontFamily: {
Poppins: ["'Poppins'", "'sans - serif'"],
},
animation: {
slideup: "slideup 1s ease-in-out",
slidedown: "slidedown 1s ease-in-out",
slideleft: "slideleft 1s ease-in-out",
slideright: "slideright 1s ease-in-out",
wave: "wave 1.2s linear infinite",
slowfade: "slowfade 2.2s ease-in-out",
},
keyframes: {
slowfade: {
from: { opacity: 0 },
to: { opacity: 1 },
},
slideup: {
from: { opacity: 0, transform: "translateY(25%)" },
to: { opacity: 1, transform: "none" },
},
slidedown: {
from: { opacity: 0, transform: "translateY(-25%)" },
to: { opacity: 1, transform: "none" },
},
slideleft: {
from: { opacity: 0, transform: "translateX(-20px)" },
to: { opacity: 1, transform: "translateX(0)" },
},
slideright: {
from: { opacity: 0, transform: "translateX(20px)" },
to: { opacity: 1, transform: "translateX(0)" },
},
wave: {
"0%": { transform: "scale(0)" },
"50%": { transform: "scale(1)" },
"100%": { transform: "scale(0)" },
},
},
},
},
plugins: [],
};