feat: 适配下dark主题

This commit is contained in:
Asam
2023-06-28 19:44:12 +08:00
parent e00e9d0a87
commit ced3e4eacd
9 changed files with 23 additions and 24 deletions

View File

@@ -1,6 +1,6 @@
/** @type {import('tailwindcss').Config} */
export default {
darkMode: 'class',
darkMode: ['class', '[data-theme="dark"]'],
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
daisyui: {
themes: ['light', 'dark'],