-
Notifications
You must be signed in to change notification settings - Fork 29
/
tailwind.config.js
105 lines (103 loc) · 2.86 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx}",
"./src/components/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
animation: {
"spin-slow": "spin 2s linear infinite",
scroll: "scroll 60s linear infinite",
"scroll-reverse": "scroll-reverse 60s linear infinite",
"free-fall":
"gravity 10s cubic-bezier(0.33333, 0, 0.66667, 0.33333) infinite",
shake: "shake 0.3s linear infinite",
},
keyframes: {
shake: {
"0%": { transform: "translate(0, 0) rotate(0deg)" },
"25%": { transform: "translate(5px, 5px) rotate(5deg)" },
"50%": { transform: "translate(0, 0) rotate(0eg)" },
"75%": { transform: " translate(-5px, 5px) rotate(-5deg)" },
"100%": { transform: "translate(0, 0) rotate(0deg)" },
},
scroll: {
"0%": { transform: "translateX(0)" },
"100%": { transform: "translateX(calc(-250px * 10))" },
},
"scroll-reverse": {
"0%": { transform: "translateX(calc(-250px * 10))" },
"100%": { transform: "translateX(0)" },
},
gravity: {
"0%": {
transform: "translateY(-10vh) rotate(0deg)",
},
"100% ": {
transform: "translateY(110vh) rotate(120deg)",
},
},
"sun-gravity": {
"0%": {
transform: "translateY(-100vh) rotate(0deg)",
},
"100%": {
transform: "translateY(200vh) rotate(360deg)",
},
},
},
transitionTimingFunction: {
"suck-in": "cubic-bezier(0.65, 0, 0.35, 1)",
},
fontFamily: {
VikingHell: "var(--font-viking-hell)",
PressStart: "var(--font-Press_Start_2P)",
Garet: "var(--font-Garet)",
gilroy: "var(--font-gilroy)",
},
colors: {
primary: {
50: "#E7D9F8",
100: "#D2B6F1",
200: "#A46EE3",
300: "#7628D0",
400: "#6623B4",
500: "#551D96",
600: "#441778",
700: "#33115A",
800: "#220C3C",
900: "#11061E",
950: "#07020D",
},
secondary: {
50: "#FFF0F9",
100: "#FFE5F4",
200: "#FFC7E8",
300: "#FFADDD",
400: "#FF94D2",
500: "#FF75C6",
600: "#FF5CBB",
700: "#FF40B1",
800: "#D6007D",
900: "#6B003E",
950: "#33001E",
},
accent: {
50: "#F2FBFD",
100: "#E5F6FA",
200: "#CFEFF7",
300: "#B5E6F2",
400: "#9BDDED",
500: "#86D6E9",
600: "#6CCDE5",
700: "#52C4E0",
800: "#3ABCDC",
900: "#156275",
950: "#0B333D",
},
},
},
},
plugins: [],
};