-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
62 lines (61 loc) · 1.33 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
/** @type {import('tailwindcss').Config} */
const plugin = require("tailwindcss/plugin");
module.exports = {
content: ["./src/**/*.{js,ts,jsx,tsx}"],
darkMode: false,
theme: {
container: {
screens: {
sm: "600px",
md: "728px",
lg: "984px",
xl: "1140px",
"2xl": "1496px",
},
},
extend: {
colors: {
primary: {
DEFAULT: "#1765FC",
dark: "#003eb2",
},
secondary: {
100: "#F1F2F4",
},
info: {
DEFAULT: "#092474",
light: "#B4CBF9",
},
danger: {
100: "#f9c2cd",
DEFAULT: "#f97a93",
},
},
},
},
plugins: [
require("tailwindcss-rtl"),
plugin(({ addBase, theme }) => {
addBase({
".scrollbar": {
overflowY: "auto",
scrollbarColor: theme("colors.blue-500"),
scrollbarWidth: "thin",
},
".scrollbar-none": {
overflowY: "unset",
},
".scrollbar::-webkit-scrollbar": {
height: "4px",
width: "5px",
},
".scrollbar::-webkit-scrollbar-thumb": {
backgroundColor: "#dbdbdb",
},
".scrollbar::-webkit-scrollbar-track-piece": {
backgroundColor: "#F1F2F4",
},
});
}),
],
};