-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
100 lines (96 loc) · 2.06 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
const plugin = require("tailwindcss/plugin");
module.exports = {
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
darkMode: false, // or 'media' or 'class'
theme: {
colors: {
transparent: {
DEFAULT: 'transparent'
},
blue: {
light: '#b9d7ea',
DEFAULT: '#769fcd',
dark: '#4471a2',
darker: '#112d4e',
},
earth: {
lighter: '#f5f0e6',
light: '#f9f7f7',
DEFAULT: '#BDBDBD',
dark: '#757575',
},
gray: {
light: '#f7fbfc',
DEFAULT: '#d6e6f2',
dark: '#888',
darker: '#212121',
},
white: {
DEFAULT: '#fff'
},
stripe: {
DEFAULT: '#2743d6',
},
green: {
DEFAULT: '#2dd7e0',
},
red: {
DEFAULT: '#EC407A'
},
yellow: {
DEFAULT: '#f8d10c'
}
},
},
variants: {
extend: {},
},
plugins: [
plugin(function ({ addUtilities }) {
const newUtilities = {
".disable-scrollbars": {
scrollbarWidth: "none",
"-ms-overflow-style": "none",
"&::-webkit-scrollbar": {
width: "0px",
background: "transparent",
display: "none"
},
"& *::-webkit-scrollbar": {
width: "0px",
background: "transparent",
display: "none"
},
"& *": {
scrollbarWidth: "none",
"-ms-overflow-style": "none"
}
}
};
addUtilities(newUtilities);
})
],
}
// module.exports = {
// theme: {
// colors: {
// transparent: 'transparent',
// current: 'currentColor',
// blue: {
// light: '#b9d7ea',
// DEFAULT: '#769fcd',
// dark: '#112d4e',
// },
// earth: {
// light: '#f9f7f7',
// DEFAULT: '#BDBDBD',
// dark: '#757575',
// },
// gray: {
// dark: '#212121',
// DEFAULT: '#d6e6f2',
// light: '#f7fbfc'
// }
// }
// }
// }