-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathtailwind.config.js
More file actions
70 lines (69 loc) · 2.11 KB
/
tailwind.config.js
File metadata and controls
70 lines (69 loc) · 2.11 KB
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
import daisyui from "daisyui";
import vidstackTW from "@vidstack/react/tailwind.cjs"
/** @type {import('tailwindcss').Config} */
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
screens:{
'custom': '510px',
},
backgroundImage: {
"doki-girl": "url('./src/assets/doki-firl.png')",
"red-anime-girl": "url('./src/assets/reddragon.png')",
},
colors: {
"anime-red": "#FF0000", // Example color, replace with your choice
"anime-blue": "#0000FF", // Example color, replace with your choice
"doki-light-grey": "#989ED3",
"doki-dark-grey": "#6E78CB",
"doki-purple": "#2F3672",
"doki-white": "#DADAE8",
// Add more colors as needed
},
fontFamily: {
anime: ['"Roboto Condensed"', "sans-serif"],
comicSans: ['"Comic Sans MS"', "cursive", "sans-serif"],
poppins: ["Poppins", "sans-serif"],
lato: ["Lato-extra-bold"],
hpSimplifiedbold: ["Hp-Simplified-Bold"],
},
keyframes: {
wiggle: {
"0%, 100%": { transform: "rotate(-3deg)" },
"50%": { transform: "rotate(3deg)" },
},
fadeIn: {
"0%": { opacity: 0 },
"100%": { opacity: 1 },
},
scroll: {
"0%": { backgroundPosition: "center top" },
"50%": { backgroundPosition: "center bottom" },
"100%": { backgroundPosition: "center top" },
},
slideIn: {
"0%": { width: "0%" },
"100%": { width: "100%" },
},
slideOut: {
"0%": { width: "0%" },
"100%": { width: "100%" },
},
},
animation: {
wiggle: "wiggle 1s ease-in-out infinite",
fadeIn: "fadeIn 2s ease-out",
scroll: "scroll 15s linear infinite",
slideIn: "slideIn 0.5s ease-in-out forwards",
slideOut: "slideOut 0.5s ease-in-out forwards",
},
},
variants: {
extend: {
animation: ["hover"], // Enable hover variant for animation
},
},
},
plugins: [daisyui, vidstackTW],
};