diff --git a/app/(main)/layout.tsx b/app/(main)/layout.tsx
index c8ba248..9df1909 100644
--- a/app/(main)/layout.tsx
+++ b/app/(main)/layout.tsx
@@ -13,7 +13,7 @@ export default async function MainLayout({ children }: DashboardProps) {
return (
-
+
{!session && getEnv("SitePassword") ? : children}
diff --git a/components/LanguageSwitcher.tsx b/components/LanguageSwitcher.tsx
index 008b8ea..28f3cdf 100644
--- a/components/LanguageSwitcher.tsx
+++ b/components/LanguageSwitcher.tsx
@@ -23,7 +23,11 @@ export function LanguageSwitcher() {
return (
-
diff --git a/components/ThemeSwitcher.tsx b/components/ThemeSwitcher.tsx
index 80e30b4..c2f41a6 100644
--- a/components/ThemeSwitcher.tsx
+++ b/components/ThemeSwitcher.tsx
@@ -18,7 +18,11 @@ export function ModeToggle() {
return (
-
+
Toggle theme
diff --git a/package.json b/package.json
index 3f8b02d..711fe25 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "nezha-dash",
- "version": "1.2.0",
+ "version": "1.2.1",
"private": true,
"scripts": {
"dev": "next dev -p 3020",
diff --git a/styles/globals.css b/styles/globals.css
index f30c773..64de661 100644
--- a/styles/globals.css
+++ b/styles/globals.css
@@ -4,7 +4,7 @@
@layer base {
:root {
- --background: 0 0% 100%;
+ --background: 0 0% 98%;
--foreground: 20 14.3% 4.1%;
--card: 0 0% 100%;
--card-foreground: 20 14.3% 4.1%;
@@ -37,7 +37,7 @@
}
.dark {
- --background: 20 14.3% 4.1%;
+ --background: 30 15% 8%;
--foreground: 60 9.1% 97.8%;
--card: 20 14.3% 4.1%;
--card-foreground: 60 9.1% 97.8%;