feat: remove unnecessary theme from tailwind config

- Update `tailwind.config.js` to use only `light` and `dark` themes.
- This change improves code maintainability and reduces unnecessary complexity.
- No other components or functionalities are affected by this change.
This commit is contained in:
songtianlun 2025-01-16 21:04:00 +08:00
parent 9ce9feafb7
commit 99c5e8afe9

View File

@ -24,7 +24,7 @@ module.exports = {
// require('@tailwindcss/container-queries'),
],
daisyui: {
themes: ["light", "dark"], // false: only light + dark | true: all themes | array: specific themes like this ["light", "dark", "cupcake"]
themes: false, // false: only light + dark | true: all themes | array: specific themes like this ["light", "dark", "cupcake"]
darkTheme: "dark", // name of one of the included themes for dark mode
base: true, // applies background color and foreground color for root element by default
styled: true, // include daisyUI colors and design decisions for all components