-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.cjs
102 lines (102 loc) · 3.06 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
screens: {
xs: "450px"
},
colors: {
brand: {
white: {
100: "#F6F6F9",
200: "#6B6875",
300: "#2D2D2F"
},
red: {
100: "#FF4C47",
200: "#E10600"
},
blue: {
100: "#C3C3D5",
200: "#242433",
300: "#15151E",
400: "#060609"
}
},
teams: {
alfaromeo: "#C92D4B",
alphatauri: "#5E90A9",
alpine: "#2393D1",
astonmartin: "#368C75",
ferrari: "#FA1435",
haas: "#B6BABD",
mercedes: "#6CD3BE",
mclaren: "#F67F1F",
redbull: "#3671C6",
williams: "#36BEDC"
}
},
boxShadow: {
alfaromeo: "0 0 95px 24px rgb(201 45 75 / 0.15)",
alphatauri: "0 0 95px 24px rgb(94 144 169 / 0.15)",
alpine: "0 0 95px 24px rgb(35 147 209 / 0.13)",
astonmartin: "0 0 95px 24px rgb(54 140 117 / 0.13)",
ferrari: "0 0 95px 24px rgba(250, 20, 53, 0.13)",
haas: "0 0 95px 24px rgb(182 186 189 / 0.13)",
mclaren: "0 0 95px 24px rgb(246 127 31 / 0.13)",
mercedes: "0 0 95px 24px rgb(108 211 190 / 0.09)",
redbull: "0 0 95px 24px rgb(54 113 198 / 0.13)",
williams: "0 0 95px 24px rgb(54 190 220 / 0.13)",
"glow-alfaromeo": "0 0 15px rgb(201 45 75 / 0.5)",
"glow-alphatauri": "0 0 15px rgb(94 144 169 / 0.6)",
"glow-alpine": "0 0 15px rgb(35 147 209 / 0.6)",
"glow-astonmartin": "0 0 15px rgb(54 140 117 / 0.5)",
"glow-ferrari": "0 0 15px rgba(250, 20, 53, 0.5)",
"glow-haas": "0 0 15px rgb(182 186 189 / 0.4)",
"glow-mclaren": "0 0 15px rgb(246 127 31 / 0.4)",
"glow-mercedes": "0 0 15px rgb(108 211 190 / 0.4)",
"glow-redbull": "0 0 15px rgb(54 113 198 / 0.8)",
"glow-williams": "0 0 15px rgb(54 190 220 / 0.4)",
"info-dialog": "0 8px 28px rgb(0 0 0 / 0.3)",
"brand-red": "0 0 15px rgb(225 6 1 / 0.5)",
"brand-white": "0 0 26px rgb(255 255 255 / 0.2)",
cards: "0 0 50px black"
},
dropShadow: {
"card-text-sm": "0 2px 4px rgb(6 6 9 / 0.25)",
"card-text-md": "0 2px 4px rgb(6 6 9 / 0.65)"
},
transitionProperty: {
cards: "height, width, padding-inline"
},
keyframes: {
"fade-in": {
"0%": {
opacity: "0",
transform: "translateY(-10px)"
},
"100%": {
opacity: "1",
transform: "none"
}
},
"fade-out": {
"0%": {
opacity: "1",
transform: "none"
},
"100%": {
opacity: "0",
transform: "translateY(-10px)"
}
}
},
animation: {
"fade-in": "fade-in 0.3s ease-out",
"fade-out": "fade-out 0.3 ease-out"
}
}
},
plugins: []
};