-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
193 lines (190 loc) · 6.76 KB
/
tailwind.config.ts
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
darkMode: "class",
theme: {
extend: {
fontFamily: {
"digital-numbers": ["DigitalNumbers", "serif"],
},
screens: {
xl1440: "1440px",
},
width: {
68: "17rem",
88: "22rem",
100: "25rem",
104: "26rem",
},
fontSize: {
"2xs": "0.625rem",
},
colors: {
primary: "#EF476F",
secondary: "#F59569",
input: "#EFF3F8",
label: "#565656",
black: "#353535",
body: "#21212C",
chips: "#5EBAB0",
gray: "#4C4C64",
gray00: "#0C0C17",
gray10: "#10101B",
gray20: "#161623",
gray30: "#1B1B29",
gray40: "#1E1E2C",
gray50: "#212130",
gray60: "#242431",
gray70: "#303043",
gray80: "#4C4C5C",
gray90: "#67677B",
gray100: "#B5B5C6",
orange: "#F5841F",
error: "#EA5365",
code: "#292938",
cyan: "#165369",
purple: "#362469",
twitter: "#B5FAF5",
"dark-purple": "#39275E",
"light-gray": "#EBECEF",
"light-gray-2": "#EDF2F3",
"dark-gray": "#757575",
"space-green": "#4CE6A1",
"light-space-green": "#D5EBE1",
"dark-grey-2": "#13131E",
"blue-gray-light": "#E9EFF6",
"primary-light": "#FFE9EE",
"primary-light-2": "#F8F0F4",
"secondary-light": "#FFECE4",
"secondary-light-2": "#F6C7B4",
"dark-space-green": "#274641",
"disabled-bg": "#C0C0C0",
"disabled-text": "#939393",
"secondary-text": "#997EA4",
warn: "#F16E35",
warning2: "#877A74",
},
borderWidth: {
3: "3px",
},
backgroundImage: {
"dark-primary":
"linear-gradient(to right, #22222f, #21232e, #242130, #231f2f)",
"dark-primary-2": "url('/assets/images/token-tap/bg-primary-dark.svg')",
// "dark-primary-2":
// "radial-gradient(174.04% 3217.67% at 17.05% 37.02%, #2A3837 0%, #3F2B44 42.19%, #322837 100%)",
primaryGradient:
"linear-gradient(91.35deg, #4BF2A2 -4.66%, #A89FE7 39.49%, #E1C3F4 73.07%, #DD40CD 111.44%)",
primaryGradient2:
"linear-gradient(91.35deg, #4BF2A2 -4.66%, #A89FE7 39.49%, #E1C3F4 43.07%, #DD40CD 100.44%)",
primaryGradient3:
"linear-gradient(91.35deg, #4BF2A2 -4.66%, #A89FE7 89.49%, #E1C3F4 156.07%, #DD40CD 100.44%)",
"primaryGradient-2":
"linear-gradient(91.35deg, #4BF2A2 -150.66%, #A89FE7 39.49%, #E1C3F4 150.07%)",
"home-header-texture":
"url('/assets/images/landing/main-bg-profile.svg')",
"what-is-unitap-header":
"url('/assets/images/about/what-is-unitap-header.png')",
"gastap-texture": "url('/assets/images/landing/gastap-texture.png')",
"tokentap-texture":
"url('/assets/images/landing/tokentap-texture.png')",
"prizetap-texture":
"url('/assets/images/landing/prizetap-texture.png')",
"prizetap-raffle-texture":
"url('/assets/images/prize-tap/raffle-win.svg')",
"learntap-texture": "url('/assets/images/landing/learn-tap-bg.svg')",
"launchtap-texture":
"url('/assets/images/landing/launchtap-texture.png')",
"staketap-texture":
"url('/assets/images/landing/staketap-texture.png')",
"what-is-unitap": "url('/assets/images/landing/what-is-unitap.png')",
"nft-texture": "url('/assets/images/landing/genesis-nft.png')",
"donate-texture": "url('/assets/images/landing/donate-texture.png')",
"donate-texture-s": "url('/assets/images/donate/donate-texture.svg')",
"donate-texture-p": "url('/assets/images/donate/donate-texture.png')",
"stats-texture": "url('/assets/images/landing/stats-texture.png')",
"soft-primary":
"linear-gradient(90deg, #1F3A3E 0%, rgba(28, 32, 44, 0.50) 33.85%, rgba(27, 27, 41, 0.50) 63.02%, rgba(77, 52, 81, 0.60) 100%)",
"g-twitter":
"linear-gradient(91.35deg, #03A9F4 -0%, #DFFFF5 42.19%, #03E6F4 100%)",
"g-primary":
"linear-gradient(91.35deg, #4BF2A2 -4.66%, #A89FE7 56.06%, #E1C4F4 73.07%, #DD40CD 111.44%)",
"unitap-galaxy": "linear-gradient(to right, #1F3A3E, #412E4894)",
"g-dark-primary-gradient":
"linear-gradient(to right, #2A3837,#3F2B44, #322837)",
"g-primary-2":
"linear-gradient(91.35deg,#4BF2A2 35.66%,#A89FE7 50.06%,#E1C4F4 7.07%,#DD40CD 70.44%)",
"g-primary-low":
"linear-gradient(91.35deg, rgba(75, 242, 162, 0.16) -4.66%, rgba(168, 159, 231, 0.35) 39.49%, rgba(225, 196, 244, 0.31) 73.07%, rgba(221, 64, 205, 0.31) 111.44%)",
"br-pre-enrollment":
"linear-gradient(274.27deg, #383857 9.67%, rgba(167, 159, 229, 0.5) 96.26%);",
},
dropShadow: {
"primary-xl": "0px 8px 18px rgba(81, 88, 246, 0.15)",
},
zIndex: {
100: "100",
},
keyframes: {
wiggle: {
"0%": { transform: "rotate(-8deg)" },
"50%": { transform: "rotate(8deg)" },
"100%": { transform: "rotate(0deg)" },
},
flip: {
"0%, 50%": { transform: "scaleX(-1)" },
"25%, 75%": { transform: "scaleX(1)" },
},
rocket: {
"0%": { transform: "translateY(0)" },
"100%": { transform: "translateY(-15px)" },
},
fadeIn: {
"0%": { opacity: "0" },
"100%": { opacity: "1" },
},
fadeToggle: {
"0%": { opacity: "0" },
"10%": { opacity: "1" },
"95%": { opacity: "1" },
"100%": { opacity: "0" },
},
blinking: {
"50%": { opacity: ".3" },
},
fadeInOut: {
"0%": { opacity: "1" },
"50%": { opacity: "0" },
"100%": { opacity: "1" },
},
changeColor: {
"0%": { backgroundColor: "red" },
"50%": { backgroundColor: "yellow" },
},
},
animation: {
wiggle: "wiggle 1s ease-in-out, wiggle 1s ease-in-out",
flip: "flip 0.5s ease-in ",
rocket: "rocket 1500ms infinite alternate;",
fadeIn: "fadeIn 0.8s ease-in-out",
blinking: "blinking 2s step-start 0s infinite",
fadeInOut: "fadeInOut 2s ease-in-out infinite",
fadeToggle: "fadeToggle 5s ease-in-out infinite",
changeColor: "changeColor 1s ease-in",
},
transitionProperty: {
height: "height",
spacing: "margin, padding",
},
transitionDuration: {
0: "0ms",
250: "250ms",
},
},
},
};
export default config;