diff --git a/frontend/src/components/theme/ThemeSwitcher.tsx b/frontend/src/components/theme/ThemeSwitcher.tsx index 59b3e206c1..22a448e612 100644 --- a/frontend/src/components/theme/ThemeSwitcher.tsx +++ b/frontend/src/components/theme/ThemeSwitcher.tsx @@ -149,10 +149,27 @@ const ThemeSwitcher: React.FC = () => { // Don't render until mounted to prevent SSR issues if (!mounted) { return ( -
-
-
- {themeConfigs[1].icon} +
+
+
+ + + + + + + + + + + +
+
+ + + + +
@@ -165,7 +182,7 @@ const ThemeSwitcher: React.FC = () => { // ); return ( -
+
{ "p-0.5 *:size-4 sm:p-1 sm:*:size-5 lg:p-1 lg:*:size-6" } ${ theme === config.type - ? "bg-white ring ring-gray-950/10 dark:bg-gray-600 dark:ring-white/10" + ? "theme-active bg-white ring ring-gray-950/10 dark:bg-gray-600 dark:ring-white/10" : "hover:bg-gray-100 dark:hover:bg-gray-700" }`} onClick={() => handleThemeChange(config.type)} diff --git a/frontend/src/layouts/BaseLayout.astro b/frontend/src/layouts/BaseLayout.astro index 6281bda68d..5561d6f591 100644 --- a/frontend/src/layouts/BaseLayout.astro +++ b/frontend/src/layouts/BaseLayout.astro @@ -468,6 +468,78 @@ const GA_MEASUREMENT_ID = 'G-WXSDF484XZ'; + + +