-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
112 lines (111 loc) · 3.09 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
module.exports = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx}",
"./src/components/**/*.{js,ts,jsx,tsx}",
"./src/layouts/**/*.{js,ts,jsx,tsx}",
"./public/**/*.html",
"./node_modules/tw-elements/dist/js/**/*.js",
"./node_modules/flowbite-react/**/*.js",
"./node_modules/flowbite/**/*.js",
],
darkMode: "class",
purge: {
enabled: true,
content: ["./src/**/*.tsx"],
options: {
safelist: ["dark"], //specific classes
},
},
theme: {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
typography: (theme) => ({
dark: {
css: {
colors: {
menuItemSelected: "#fff",
menuItem: "#fff",
},
},
},
}),
screens: {
s: "300px",
xs: "370px",
xxs: "480px",
md: "768px",
lg: "976px",
xl: "1440px",
mobile: { raw: "(max-width: 768px)" },
gand: { raw: "(min-height: 800px)" },
tall: { raw: "(min-height: 700px)" },
small: { raw: "(min-height: 600px)" },
sidebarBreakpoint: { raw: "(max-width: 1250px)" },
},
extend: {
colors: {
/** Light mode */
primary: "#191123",
white: "#ffffff",
black: "#000",
green: "#44DB8D",
green300: "#26C673",
purple: "#B998FB",
purple300: "#735CF7",
grey: "#9D9EA0",
dividerColor: "#D2D7DF",
blurPurple: "rgba(185, 152, 251, 0.8)",
blurGreen: "rgba(60, 191, 124, 0.8)",
hamserText: "rgba(149, 131, 255, 0.3)",
hamserTextMobile: "rgba(149, 131, 255, 1)",
greyText: "rgba(77, 77, 77, 1)",
borderGrey: "#80808029",
menuPurple: "rgba(115, 92, 247, 1)",
primaryPurple: "rgba(115, 92, 247, 1)",
menuItemSelected: "#20242D",
menuItem: "#5F6C87",
menuItemHover: "#735CF7",
borderColor: "#D2D7DF",
strongTitle: "#20242D",
contentColor: "#5F6C87",
footerItemColor: "#CBD4E1",
navy: "#5F6C87",
/** Dark mode */
menuItemSelectedDark: "#FFFFFF",
menuItemDark: "#96A1B5",
menuItemHoverDark: "#B998FB",
borderColorDark: "#353C4B",
strongTitleDark: "#FFFFFF",
contentColorDark: "#FFFFFF",
greenDark: "#69FFB2",
purpleDark: "#B998FB",
footerItemColorDark: "#B4BCCA",
navyDark: "#96A1B5",
backgroundDark: "#20242D",
twhite: "#FFFFFF",
dark3: "#242636",
dark10: "#F0F3FA",
dark20: "#E2E8F0",
dark30: "#CBD4E1",
dark40: "#94A3B8",
dark45: "#99A8C6",
dark50: "#7886A0",
dark60: "#5F6C87",
dark70: "#4A5469",
dark80: "#353C4B",
dark90: "#20242D",
dark100: "#121320",
purpleBg: "#EDECFF",
red300: "#DE2C47",
red200: "#F44949",
},
boxShadow: {
xl: "0px 4px 4px rgba(0, 0, 0, 0.25);",
lg: "0px 4px 4px rgba(0, 0, 0, 0.25);",
},
spacing: {
normal: "18px",
},
},
},
plugins: [require("tw-elements/dist/plugin"), require("flowbite/plugin")],
};