-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
66 lines (65 loc) · 1.72 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
const plugin = require("tailwindcss/plugin");
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
darkMode: "class",
theme: {
extend: {
boxShadow: {
sh: "rgba(0, 0, 0, 0.25) 0px 0px 20px",
mh: "rgba(0, 0, 0, 0.25) 0px 0px 35px",
},
colors: {
custom: {
primary: "var(--primary)",
secondary: "var(--secondary)",
terciary: "var(--terciary)",
alternative: "var(--alternative)",
placeholder: "var(--placeholder)",
text: "var(--text)",
link: "var(--link)",
hover: "var(--hover)",
link_hover: "var(--link_hover)",
},
},
fontFamily: {
sans: ["Outfit", "sans-serif"],
},
screens: {
"4xl": "1750px",
"3xl": "1450px",
phone: "500px",
},
},
},
plugins: [
require("@tailwindcss/line-clamp"),
plugin(({ addUtilities }) => {
addUtilities({
".scrollbar-custom::-webkit-scrollbar": {
" -webkit-appearance": "none",
"margin-right": "2px",
},
".scrollbar-custom::-webkit-scrollbar:vertical": {
width: "7px",
},
".scrollbar-custom::-webkit-scrollbar:horizontal": {
height: "10px",
},
".scrollbar-custom::-webkit-scrollbar-button": {
display: "none",
},
".scrollbar-custom::-webkit-scrollbar-thumb": {
"background-color": "rgba(120, 122, 145, 0.5)",
"border-radius": "20px",
},
".scrollbar-custom::-webkit-scrollbar-track": {
"border-radius": "10px",
cursor: "pointer",
},
});
}),
],
};