-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
78 lines (77 loc) · 2.15 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
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
transitionProperty: {
"max-height": "max-height",
transform: "transform",
},
maxHeight: {
"0": "0",
screen: "100vh",
},
colors: {
primary: "#030324",
opaque: "#182146",
line: "rgba(255, 255, 255, 0.30)",
gradient: {
one: "#18F6DB",
two: "#0364FF",
three: "#66D4F6",
four: "#4D92FF",
five: "#BB65FF",
},
darkCard: "rgba(0, 0, 0, 0.50)",
modal: "rgba(118, 118, 118, 0.30)",
navDropdown: "#1a2043",
navBar: "#050c33",
},
backgroundImage: {
login: "url('/images/demo-login-bg.svg')",
home: "url('/images/newhero.png')",
crossChain: "url('/images/cross-chain-gradient.png')",
nft: "url('/images/cross-chain-home-bg.svg')",
},
animation: {
"bounce-short": "bounce 1s linear 2",
"spin-short": "spin 20s linear infinite",
"spin-medium": "spin 5s linear infinite",
move: "move 3s ease-in-out",
fadeIn: "fadeIn 0.3s ease-out forwards",
fadeOut: "fadeOut 0.3s ease-out forwards",
scaleIn: "scaleIn 0.3s ease-out forwards",
scaleOut: "scaleOut 0.3s ease-out forwards",
spin: "spin 1s linear infinite",
},
keyframes: {
fadeIn: {
"0%": { opacity: "0" },
"100%": { opacity: "1" },
},
fadeOut: {
"0%": { opacity: "1" },
"100%": { opacity: "0" },
},
scaleIn: {
"0%": { transform: "scale(0.75)" },
"100%": { transform: "scale(1)" },
},
scaleOut: {
"0%": { transform: "scale(1)" },
"100%": { transform: "scale(0.75)" },
},
spin: {
"0%": { transform: "rotate(0deg)" },
"100%": { transform: "rotate(360deg)" },
},
},
},
},
plugins: [],
};
export default config;