-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
102 lines (92 loc) · 2.72 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
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: {
backgroundImage: {
"home-desktop": "url('/home/background-home-desktop.jpg')",
"home-tablet": "url('/home/background-home-tablet.jpg')",
"home-mobile": "url('/home/background-home-mobile.jpg')",
"destination-desktop":
"url('/destination/background-destination-desktop.jpg')",
"destination-tablet":
"url('/destination/background-destination-tablet.jpg')",
"destination-mobile":
"url('/destination/background-destination-mobile.jpg')",
"crew-desktop": "url('/crew/background-crew-desktop.jpg')",
"crew-tablet": "url('/crew/background-crew-tablet.jpg')",
"crew-mobile": "url('/crew/background-crew-mobile.jpg')",
"technology-desktop":
"url('/technology/background-technology-desktop.jpg')",
"technology-tablet":
"url('/technology/background-technology-tablet.jpg')",
"technology-mobile":
"url('/technology/background-technology-mobile.jpg')",
},
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
primary: "var(--primary)",
nav: "rgba(255, 255, 255, 0.04)",
},
backdropBlur: {
sl: "40.774227142333984px",
},
fontFamily: {
barlow: ["var(--font-barlow)"],
bellefair: ["var(--font-bellefair)"],
"barlow-condensed": ["var(--barlow-condensed)"],
},
keyframes: {
"infinite-rotate": {
"0%": {
rotate: "0deg",
},
"50%": {
rotate: "180deg",
},
"100%": {
rotate: "360deg",
},
},
"fade-in": {
from: {
scale: "0.6",
opacity: "0.3",
},
to: {
scale: "1",
opacity: "1",
},
},
"slide-in": {
from: {
translate: "30% 0",
opacity: "0",
},
to: {
translate: "0",
opacity: "1",
},
},
"pulse-2": {
"50%": {
opacity: "0.18",
},
},
},
animation: {
"infinte-rotate": "infinite-rotate 10s infinite linear",
"fade-in": "fade-in 600ms linear",
"slide-in": "slide-in 700ms ease-in-out",
pulse2: "pulse-2 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",
},
},
},
plugins: [require("tailwindcss-3d")({ legacy: true })],
};
export default config;