forked from RoBorregos/RoBorregos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.mjs
80 lines (78 loc) · 2.31 KB
/
tailwind.config.mjs
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
import { fade } from "astro/dist/transitions";
const { nextui } = require("@nextui-org/react");
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}",
"./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
backgroundImage: {
Homebg:
'linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.55)),url("/images/HomeBg.jpg")',
Homebg_gradient:
"linear-gradient(180deg, rgba(0,0,0,0)0% 80%,rgba(0,0,0,.95))",
carouselParners:
"linear-gradient(180deg, rgba(0, 112, 240,0.4) ,rgba(0,0,0,0) 15% 85%,rgba(0, 112, 240,0.4))",
Gallery_Gradient:
"linear-gradient(90deg, rgba(0, 0, 0,0.95) ,rgba(0,0,0,0) 30% 70%,rgba(0, 0, 0,0.95))"
},
boxShadow: {
button: "0px 0px 10px 20px rgba(0, 0, 255, .2)",
},
keyframes: {
pulse: {
"0%, 50%": { opacity: 0 },
"100%": { opacity: 1 },
},
blinkfast: {
"0%, 50%, 100%": { opacity: 1 },
"25%, 75%": { opacity: 0 },
},
fadeIn: {
"0%": { opacity: 0 },
"100%": { opacity: 1 },
},
pulseButton: {
"0%, 100%": { boxShadow: "0px 0px 10px 7px rgba(0, 0, 255, 0.2)" },
"50%": { boxShadow: "0px 0px 10px 9px rgba(0, 0, 255, 0.5)" },
},
"infinite-carousel": {
from: { transform: "translateX(0)" },
to: { transform: "translateX(-100%)" },
},
},
animation: {
pulse: "pulse 2s cubic-bezier(0.4, 0, 0.6, 1)",
blinkfast: "blinkfast 0.8s linear infinite",
fadeIn: "fadeIn 2s ease-in-out forwards ",
pulseButton: "pulseButton 3s infinite",
"infinite-carousel": "infinite-carousel 10s linear infinite",
},
fontFamily: {
tomorrow: ["Tomorrow", "sans-serif"],
},
colors: {
"base-blue": "#0070F0",
},
},
},
variants: {
extend: {
animation: ["hover", "group-hover"],
},
},
darkMode: "class",
plugins: [
nextui(),
function ({ addUtilities }) {
const newUtilities = {
".pause-animation": {
"animation-play-state": "paused",
},
};
addUtilities(newUtilities);
},
],
};