forked from permaweb/AOS-Web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
69 lines (68 loc) · 1.96 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
66
67
68
69
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
"node_modules/flowbite-react/lib/esm/**/*.js",
],
theme: {
extend: {
spacing: {
0.25: "0.0625rem",
13: "3.25rem",
},
borderWidth: {
1: "0.0625rem",
},
borderRadius: {
smd: "0.25rem",
},
fontFamily: {
"roboto-mono": ["Roboto Mono", "monospace"],
"dm-sans": ["DM Sans", "sans-serif"],
},
colors: {
"primary-dark-color": "#222326",
"gray-text-color": "#8B8B8B",
"dark-gray-color": "#5A5B5D",
"medium-gray-color": "#C1BFCD",
"light-gray-color": "#DEDEDE",
"very-light-gray": "#EEEFF0",
"bg-color": "#F2F2F2",
"light-blue": "#B9C3DD",
},
keyframes: {
slideInLeft: {
"0%": { transform: "translateX(-1rem)" },
"100%": { transform: "translateX(0)" },
},
slideInRight: {
"0%": { transform: "translateX(1rem)" },
"100%": { transform: "translateX(0)" },
},
slideInTop: {
"0%": { transform: "translateY(-1rem)" },
"100%": { transform: "translateY(0)" },
},
scaleIn: {
"0%": { transform: "scale(1.1)" },
"100%": { transform: "scale(1)" },
},
spinSlow: {
"0%": { transform: "rotate(0deg)" },
"100%": { transform: "rotate(360deg)" },
},
},
animation: {
"slide-in-left":
"slideInLeft 0.5s cubic-bezier(.02,.88,.24,1) forwards",
"slide-in-right":
"slideInRight 0.5s cubic-bezier(.02,.88,.24,1) forwards",
"slide-in-top": "slideInTop 0.5s cubic-bezier(.02,.88,.24,1) forwards",
"scale-in": "scaleIn 0.5s cubic-bezier(.02,.88,.24,1) forwards",
"spin-slow": "spinSlow 3s linear infinite",
},
},
},
plugins: [require("flowbite/plugin")],
};