2024-11-18 11:05:16 +01:00
|
|
|
// Handle themes
|
|
|
|
import { themes } from './themes/index.mjs'
|
2024-11-24 15:44:23 +01:00
|
|
|
import daisyui from 'daisyui'
|
2024-11-18 11:05:16 +01:00
|
|
|
|
|
|
|
export default {
|
2024-11-24 15:44:23 +01:00
|
|
|
content: ['./src/**/*.{js,mjs,mdx}', '../../node_modules/daisyui/**/*.{js,mjs,ts,tsx}'],
|
|
|
|
plugins: [daisyui],
|
2024-11-23 17:50:17 +01:00
|
|
|
corePlugins: { preflight: false },
|
2024-11-24 15:44:23 +01:00
|
|
|
darkMode: ['class', "[data-theme='dark']"],
|
|
|
|
prefix: 'tw-',
|
2024-11-18 11:05:16 +01:00
|
|
|
daisyui: {
|
|
|
|
themes: [themes],
|
2024-11-24 15:44:23 +01:00
|
|
|
base: false,
|
|
|
|
logs: false,
|
2024-11-18 11:05:16 +01:00
|
|
|
themeRoot: '*',
|
2024-11-24 15:44:23 +01:00
|
|
|
prefix: 'dsy-',
|
2024-11-18 11:05:16 +01:00
|
|
|
},
|
|
|
|
theme: {
|
|
|
|
extend: {
|
|
|
|
aspectRatio: {
|
|
|
|
'9/16': '9 / 16',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|