-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathtailwind.config.js
65 lines (62 loc) · 1.65 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
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
"node_modules/flowbite-react/lib/esm/**/*.js",
],
theme: {
extend: {
animation: {
"infinite-scroll": "infinite-scroll 25s linear infinite",
},
keyframes: {
"infinite-scroll": {
from: { transform: "translateX(0)" },
to: { transform: "translateX(-100%)" },
},
rotate: {
"0%": { transform: "translateX(-50%) translateY(-15%) rotate(0deg)" },
"100%": {
transform: "translateX(-50%) translateY(-15%) rotate(360deg)",
},
},
"flip": {
to: {
transform: "rotate(360deg)",
},
},
},
animation: {
rotate: "rotate 3s linear infinite both",
flip: "flip 6s infinite steps(2, end)",
},
animationDelay: {
4: "4s",
},
colors: {
primary: "rgba(50, 51, 55, 1)",
secondry: "rgba(51, 34, 51, 0.2)",
},
minHeight: {
0: "0",
"1/4": "25%",
"1/2": "50%",
"3/4": "75%",
full: "100%",
},
screens: {
md: { max: "770px" },
// => @media (max-width: 767px) { ... }
sm: { max: "639px" },
// => @media (max-width: 639px) { ... }
"md-xl": { min: "769px", max: "940px" },
"md-2xl": { min: "769px", max: "1240px" },
// => @media (min-width: 1280px) and (max-width: 1535px) { ... }
"x-sm": { max: "480px" },
"lg-xl": { max: "1024px" },
},
},
},
plugins: [require("flowbite/plugin")],
};