-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.ts
75 lines (73 loc) · 1.74 KB
/
tailwind.config.ts
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
import type { Config } from "tailwindcss";
import flowbite from "flowbite-react/tailwind";
const config: Config = {
darkMode: "class",
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
"./public/**/*.html",
flowbite.content(),
],
theme: {
fontFamily: {
emoji: [
"Twemoji Mozilla",
"Apple Color Emoji",
"Noto Color Emoji",
"Segoe UI Emoji",
"Segoe UI Symbol",
"Segoe UI",
"EmojiOne Color",
"Android Emoji",
],
},
colors: {
bgColor: {
DEFAULT: "#FFFFFF",
light: "#FFFFFF",
dark: "#000000",
},
white: "#FFFFFF",
black: "#000000",
textColor: {
DEFAULT: "#000000",
light: "#000000",
dark: "#FFFFFF",
},
customGrey: {
DEFAULT: "#96A1AF",
light: "#E9ECEF",
dark: "#39455A",
black: "#2D3748",
blackBg: "#262E3B",
},
warning: "#E75F5F",
primary: "#38C585",
},
extend: {
keyframes: {
flyEmoji: {
"0%": {
transform: "translateY(0) scale(1)",
opacity: "0.7",
},
"100%": {
transform: "translateY(-150px) scale(2)",
opacity: "0",
},
},
slideDown: {
"0%": { transform: "translateY(-20%)", opacity: "0" },
"100%": { transform: "translateY(0)", opacity: "1" },
},
},
animation: {
flyEmoji: "flyEmoji 1s forwards",
"slide-down": "slideDown 0.3s ease-out",
},
},
},
plugins: [flowbite.plugin(), require("tailwindcss-animate")],
};
export default config;