From 99c5e8afe9a949460110d15b25d0ad3cf8dde2c5 Mon Sep 17 00:00:00 2001 From: songtianlun Date: Thu, 16 Jan 2025 21:04:00 +0800 Subject: [PATCH] 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. --- config/tailwind.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/tailwind.config.js b/config/tailwind.config.js index e4d7df9..752a161 100644 --- a/config/tailwind.config.js +++ b/config/tailwind.config.js @@ -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