1
0
Fork 0
freesewing/packages/freesewing.shared/config/tailwind.config.js

30 lines
556 B
JavaScript
Raw Normal View History

2021-12-11 14:04:05 +01:00
// Handle themes
const allThemes = require('../themes')
const themes = {}
for (const theme in allThemes) themes[theme] = allThemes[theme].config
2021-12-10 10:30:15 +01:00
module.exports = {
content: [
'./pages/*.js',
'./pages/**/*.js',
2021-12-11 14:04:05 +01:00
'../freesewing.shared/components/**/*.js',
2021-12-10 10:30:15 +01:00
],
plugins: [
require('daisyui'),
require('tailwindcss/nesting'),
],
2021-12-11 14:04:05 +01:00
daisyui: {
styled: true,
themes: [ themes ],
base: true,
utils: true,
logs: true,
rtl: false,
},
2021-12-10 10:30:15 +01:00
theme: {
2021-12-10 14:22:52 +01:00
extend: {
colors: require('daisyui/colors'),
},
2021-12-10 10:30:15 +01:00
},
}