-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
79 lines (79 loc) · 2.05 KB
/
Copy pathtailwind.config.js
File metadata and controls
79 lines (79 loc) · 2.05 KB
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
const defaultTheme = require("tailwindcss/defaultTheme");
const plugin = require("tailwindcss/plugin");
module.exports = {
purge: ["./pages/**/*.{js,ts,jsx,tsx}", "./components/**/*.{js,ts,jsx,tsx}"],
darkMode: "class",
theme: {
extend: {
fontFamily: {
sans: ["Poppins", ...defaultTheme.fontFamily.sans],
},
screens: {
xs: "475px",
...defaultTheme.screens,
"3xl": "1537px",
"4xl": "1841px",
"5xl": "2110px",
},
maxHeight: {
...defaultTheme.maxHeight,
"55vh": "55vh",
"58vh": "58vh",
"60vh": "60vh",
"63vh": "63vh",
"65vh": "65vh",
"68vh": "68vh",
"70vh": "70vh",
"73vh": "73vh",
"75vh": "75vh",
"78vh": "78vh",
"79vh": "79vh",
"80vh": "80vh",
"83vh": "83vh",
"85vh": "85vh",
"88vh": "88vh",
"90vh": "90vh",
"93vh": "93vh",
"95vh": "95vh",
"98vh": "98vh",
},
colors: {
...defaultTheme.colors,
"bg-main": "#242526",
"bg-secondary": "#3A3B3C",
"dark-active": "#25303D",
"light-active": "#EAF3FF",
"fb-main": "#0B84FF",
},
},
},
variants: {
extend: {
visibility: ["group-hover", "focus", "group-focus"],
display: ["group-focus", "focus"],
overflow: ["hover"],
},
},
plugins: [
plugin(function ({ addComponents }) {
const newComponents = {
".scrollbar-w-2::-webkit-scrollbar": {
width: ".5rem !important",
height: ".5rem !important",
},
".scrollbar-thumb-rounded::-webkit-scrollbar-thumb": {
borderRadius: ".25rem !important",
},
".scrollbar-thumb-gray::-webkit-scrollbar-thumb": {
backgroundColor: "#3A3B3C !important",
},
".scrollbar-track-gray-lighter::-webkit-scrollbar-track": {
backgroundColor: "transparent",
},
};
addComponents(newComponents, {
variants: ["responsive"],
});
}),
],
};