-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
50 lines (48 loc) · 1.35 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors:{
vaderwhite : "#99A1AA"
},
fontFamily:{
starjhol: ['starjhol']
},
backgroundImage: {
// 'space-background': "url('public/images/nightbackground.jpg')",
// 'space-background' : `url(${resourceImageRoutes.get(background)`
},
animation: {
bounce: "bounce-custom 1.5s infinite ease-in-out",
fade: 'fadeOut 4s ease-in-out',
scrollUp: "scrollUp 2s linear forwards",
scrollDown: "scrollDown 2s linear forwards",
},
keyframes: {
"bounce-custom": {
"0%, 100%": { transform: "translateY(0)" },
"50%": { transform: "translateY(-15px)" },
},
"fadeOut": {
'0%': { opacity: 1 }, // Tailwind red-300 color directly referenced
'100%': { opacity: 0 }, // Corrected transparent value
},
"scrollUp": {
"0%": { transform: "translateY(0)" },
"100%": { transform: "translateY(-100%)" },
},
"scrollDown": {
"0%": { transform: "translateY(0)" },
"100%": { transform: "translateY(100%)" },
},
},
},
},
plugins: [
require('tailwind-scrollbar-hide')
],
}