-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
69 lines (63 loc) · 2.17 KB
/
tailwind.config.js
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
/** @type {import('tailwindcss').Config} */
export default {
content: ["./*.html", "./src/**/*.{ts,tsx}"],
theme: {
extend: {
animation: {
leftPreload: "leftPreload .7s linear alternate infinite",
rightPreload: "rightPreload .7s linear alternate infinite",
leftPreloadMd: "leftPreloadMd .8s linear alternate infinite",
rightPreloadMd: "rightPreloadMd .8s linear alternate infinite",
},
backgroundImage: {
homeImg: "url(./assets/images/background.webp)",
authBg: "url(./assets/images/auth-bg.jpg)",
},
backgroundPosition: {
wrapperImgPosition: "0% 25%",
wrapperImgPositionMd: "0 80%",
filmCntrImgPosition: "55% 50%",
filmCntrImgPositionMd: "60% 28%",
filmBackdropPosition: "50% 0%",
},
boxShadow: {
addButton: "0 0 20px #991b1b",
addButtonHover: "0 0 20px #232327e8",
film: "0 0 10px #66666623",
},
dropShadow: {
watchlist: "2px 2px #00000084",
blackOutline: "-0px 0px 1px #000000",
},
fontFamily: {
inter: "'Inter', sans-serif",
robotoCondensed: "'Roboto Condensed', sans-serif",
cormorantGaramond: "'Cormorant Garamond', serif",
},
keyframes: {
leftPreload: {
"0%": { transform: "translateX(-15px)", zIndex: "100" },
"99%": { zIndex: "51" },
"100%": { transform: "translateX(50px)", zIndex: "51" },
},
rightPreload: {
"0%": { transform: "translateX(15px)", zIndex: "52" },
"99%": { zIndex: "100" },
"100%": { transform: "translateX(-50px)", zIndex: "100" },
},
leftPreloadMd: {
"0%": { transform: "translateX(-30px)", zIndex: "100" },
"99%": { zIndex: "51" },
"100%": { transform: "translateX(90px)", zIndex: "51" },
},
rightPreloadMd: {
"0%": { transform: "translateX(30px)", zIndex: "52" },
"99%": { zIndex: "100" },
"100%": { transform: "translateX(-90px)", zIndex: "100" },
},
},
},
},
plugins: [],
dev: `npx tailwindcss -i ./src/input.css -o ./src/output.css --watch`,
};