-
Notifications
You must be signed in to change notification settings - Fork 35
/
tailwind.config.js
33 lines (31 loc) · 912 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
const plugin = require('tailwindcss/plugin');
module.exports = {
content: [
'./*.html',
'./pages/**/*.html'
],
theme: {
extend: {
colors: {
"primary": "#1f4b8e",
"primary-dark": "#102a52",
"secondary": "#182430",
"secondary-dark": "#060C11",
}
},
},
plugins: [
require('@tailwindcss/forms'),
plugin(function({ addUtilities, theme }) {
const newUtilities = {
'.custom-scrollbar': {
'.custom-scrollbar::-webkit-scrollbar': { width: '6px' },
'.custom-scrollbar::-webkit-scrollbar-track': { background: theme('bg-secondary')},
'.custom-scrollbar::-webkit-scrollbar-thumb': { background: '#888' },
'.custom-scrollbar::-webkit-scrollbar-thumb:hover': {background: '#555'},
}
}
addUtilities(newUtilities, ['responsive', 'hover'])
})
],
}