diff --git a/src/components/ThemeController.astro b/src/components/ThemeController.astro index 0bc0aac..46a7d40 100644 --- a/src/components/ThemeController.astro +++ b/src/components/ThemeController.astro @@ -1,6 +1,41 @@ + + - + - + {title} diff --git a/tailwind.config.mjs b/tailwind.config.mjs index 2f63c9f..f019b46 100644 --- a/tailwind.config.mjs +++ b/tailwind.config.mjs @@ -9,6 +9,22 @@ export default { require('daisyui'), ], daisyui: { - themes: ["corporate", "synthwave"], + themes: [ + { + light: { + ...require("daisyui/src/theming/themes")["light"], + primary: "#00a896", + secondary: "#c70039", + }, + }, + { + black: { + ...require("daisyui/src/theming/themes")["black"], + primary: "#00a896", + secondary: "#c70039", + }, + } + ], }, + darkMode: ['class', '[data-theme="black"]'] }