-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
40 lines (37 loc) · 1.36 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
const defaultTheme = require('tailwindcss/defaultTheme');
const plugin = require('tailwindcss/plugin');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
'./storage/framework/views/*.php',
'./resources/views/**/*.blade.php',
],
theme: {
extend: {
fontFamily: {
sans: ['Nunito', ...defaultTheme.fontFamily.sans],
},
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'])
})
]
};