-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
36 lines (34 loc) · 949 Bytes
/
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
/** @type {import('tailwindcss').Config} */
const plugin = require('tailwindcss/plugin');
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {},
},
plugins: [
plugin(({ addBase, theme }) => {
addBase({
/* For Firefox Browser */
'.scrollbar': {
overflowY: 'auto',
scrollbarColor: `${theme('colors.white.600')} ${theme('colors.white.200')}`,
scrollbarWidth: 'thin',
},
/* For Chrome, EDGE, Opera, Others */
'.scrollbar::-webkit-scrollbar': {
height: '2px',
width: '1px',
},
'.scrollbar::-webkit-scrollbar-thumb': {
backgroundColor: theme('colors.white.600'),
},
'.scrollbar::-webkit-scrollbar-track-piece': {
backgroundColor: theme('colors.white.200'),
},
});
}),
],
}