lsky-pro/tailwind.config.js
2022-05-20 11:28:42 +08:00

30 lines
727 B
JavaScript

const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
darkMode: 'class',
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],
},
boxShadow: {
custom: '0px 4px 6px -1px rgba(0, 0, 0, 0.04)',
},
},
},
variants: {
extend: {
opacity: ['disabled'],
},
},
plugins: [require('@tailwindcss/forms'), require('autoprefixer')],
};