-
Notifications
You must be signed in to change notification settings - Fork 13
/
tailwind.config.js
47 lines (44 loc) · 1.17 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
/** @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%)" },
},
},
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")],
};