-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
60 lines (59 loc) · 1.63 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
screens: {
sm: "667px",
md: "768px",
lg: "1024px",
xl: "1280px",
"h-sm": { raw: "(max-height: 750px)" }, // Below 700px height
"h-md": { raw: "(min-height: 751px) and (max-height: 862px)" }, // Between 701px and 875px
"h-lg": { raw: "(min-height: 862px)" }, // Above 875px height
},
extend: {
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
animation: {
fade: "fadeIn 0.75s ease-in-out",
fadeinright: "fade-in-right 1s ease-in-out 0.5s 1",
},
keyframes: {
fadeIn: {
from: { opacity: 0 },
to: { opacity: 1 },
},
fadeInRight: {
from: {
opacity: 0,
transform: "translate3d(20%, 0, 0)", // Adjusted starting position
},
to: {
opacity: 1,
transform: "translate3d(0, 0, 0)",
},
},
},
},
},
plugins: [
function ({ addUtilities }) {
addUtilities({
".scrollbar-hide": {
"-ms-overflow-style": "none" /* IE and Edge */,
"scrollbar-width": "none" /* Firefox */,
"&::-webkit-scrollbar": {
display: "none" /* Chrome, Safari, and Opera */,
},
},
});
},
],
};