-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.ts
63 lines (59 loc) · 1.93 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
/** @type {import("tailwindcss").Config} */
export default {
content: ["./src/**/*.{js,jsx,ts,tsx}"],
theme: {
extend: {
height: {
"screen-dvh": "100dvh",
},
zIndex: {
"100": "100",
"200": "200",
"300": "300"
},
colors: {
"arrival-green": "#09d654",
"departure-red": "#fc4f4f",
},
fontFamily: {
Rubik: ["Rubik", "sans-serif"],
},
keyframes: {
shimmer: {
"100%": { transform: "translateX(100%)" },
},
messageFadeOut: { //MapErrorMessageStack notification fade away effect
"0%": { opacity: 0.9 },
"100%": { opacity: 0.3 }
}
},
animation: {
fade: "messageFadeOut 4s ease forwards",
shimmer: "shimmer 1.5s infinite",
bounce: "bounce 1s infinite",
},
screens: {
airportAccordionExSm: "530px",
sm: "576px",
// => @media (min-width: 576px) { ... }
airportAccordionSm: "800px",
md: "960px",
// => @media (min-width: 960px) { ... }
tableShrinkAgain: "990px",
airportAccordionMd: "1100px",
ExWeatherHeadMd: "1200px",
tableShrink: "1280px",
lg: "1440px",
// => @media (min-width: 1440px) { ... }
xl: "1775px",
fs: "1960px",
airportAccordionSmMax: { max: "800px" },
lgMd: { max: "960px" },
},
},
},
darkMode: "class",
plugins: [
require("tailwind-scrollbar")
],
};