-
-
Notifications
You must be signed in to change notification settings - Fork 84
/
Copy pathtailwind.config.js
110 lines (106 loc) · 2.74 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
const { screens, fontFamily } = require("tailwindcss/defaultTheme")
module.exports = {
content: ["./src/**/*.{js,jsx}"],
theme: {
screens: {
xs: "300px",
xxl: "1536px",
...screens,
},
extend: {
colors: {
primary: "#21242D",
secondary: "#6C5DD3",
button: "#242731",
"text-primary": "#808191",
"text-secondary": "#B3B4C4",
"color-primary": "#EC615B",
"color-secondary": "#EBA352",
"color-tertiary": "#7FBA7A",
"border-primary": "rgba(228,228,228,0.1)",
},
fontFamily: {
sans: ["var(--font-inter)", ...fontFamily.sans],
},
gridTemplateColumns: {
"layout-desktop": "200px 1fr",
"layout-tablet": "55px 1fr",
},
gridTemplateRows: {
"layout-desktop": "80px 1fr 80px",
},
boxShadow: {
primary:
"0px 15px 25px rgba(148, 163, 184, 0.15), 0px 5px 10px rgba(148, 163, 184, 0.05)",
},
keyframes: {
wave: {
"0%": { transform: "rotate(0.0deg)" },
"10%": { transform: "rotate(14.0deg)" },
"20%": { transform: " rotate(-8.0deg)" },
"30%": { transform: "rotate(14.0deg)" },
"40%": { transform: "rotate(-4.0deg)" },
"50%": { transform: "rotate(10.0deg)" },
"60%": { transform: "rotate( 0.0deg)" },
"100%": { transform: "rotate( 0.0deg)" },
},
rotate: {
"0%": {
transform: "rotate(0deg) scale(1)",
},
"50%": {
transform: "rotate(180deg) scale(1.3)",
},
"100%": {
transform: "rotate(360deg) scale(1)",
},
},
move: {
"0%": {
transform: "translate(0)",
},
"25%": {
transform: "translate(-1px,2px)",
},
"50%": {
transform: "translate(-2px,2px)",
},
"75%": {
transform: "translate(2px,2px)",
},
"100%": {
transform: "translate(0)",
},
},
text: {
"0%, 100%": {
"background-size": "200% 200%",
"background-position": "left center",
},
"50%": {
"background-size": "200% 200%",
"background-position": "right center",
},
},
},
animation: {
wave: "wave 2.5s ease-in-out infinite",
rotate: "rotate 0.5s linear 1",
move: "move 1s linear infinite",
text: "text 5s ease infinite",
},
scale: {
102: "1.02",
},
aspectRatio: {
"4/3": "4 / 3",
},
},
},
variants: {
extend: {
gridColumn: ["last"],
},
},
plugins: [],
}