style: 将亮色主题背景从纯白改为灰白色,降低亮度

This commit is contained in:
zhanggangyong
2026-01-15 15:34:22 +00:00
parent 7279e95f8a
commit 1be1503d79
2 changed files with 10 additions and 10 deletions
+7 -7
View File
@@ -4,11 +4,11 @@
@custom-variant dark (&:is(.dark *)); @custom-variant dark (&:is(.dark *));
:root { :root {
--background: oklch(1 0 0); --background: oklch(0.97 0.005 200);
--foreground: oklch(0.15 0 0); --foreground: oklch(0.15 0 0);
--card: oklch(1 0 0); --card: oklch(0.98 0.003 200);
--card-foreground: oklch(0.15 0 0); --card-foreground: oklch(0.15 0 0);
--popover: oklch(1 0 0); --popover: oklch(0.98 0.003 200);
--popover-foreground: oklch(0.15 0 0); --popover-foreground: oklch(0.15 0 0);
--primary: oklch(0.38 0.13 200); --primary: oklch(0.38 0.13 200);
--primary-foreground: oklch(1 0 0); --primary-foreground: oklch(1 0 0);
@@ -112,14 +112,14 @@ html.black {
--sidebar-ring: oklch(0.7 0.16 200); --sidebar-ring: oklch(0.7 0.16 200);
} }
/* 纯白色主题 */ /* 浅灰白色主题 */
.light, .light,
html.light { html.light {
--background: oklch(1 0 0); --background: oklch(0.97 0.005 200);
--foreground: oklch(0.15 0 0); --foreground: oklch(0.15 0 0);
--card: oklch(1 0 0); --card: oklch(0.98 0.003 200);
--card-foreground: oklch(0.15 0 0); --card-foreground: oklch(0.15 0 0);
--popover: oklch(1 0 0); --popover: oklch(0.98 0.003 200);
--popover-foreground: oklch(0.15 0 0); --popover-foreground: oklch(0.15 0 0);
--primary: oklch(0.38 0.13 200); --primary: oklch(0.38 0.13 200);
--primary-foreground: oklch(1 0 0); --primary-foreground: oklch(1 0 0);
+3 -3
View File
@@ -1,9 +1,9 @@
// API client for Taiji AI Platform // API client for Taiji AI Platform
// Base URLs for different services // Base URLs for different services
export const API_BASE_URLS = { export const API_BASE_URLS = {
dataIngestion: process.env.NEXT_PUBLIC_DATA_INGESTION_URL || "https://apimtaiji.azure-api.net/api/mcp", dataIngestion: process.env.NEXT_PUBLIC_DATA_INGESTION_URL || "http://localhost:8002",
mcpServer: process.env.NEXT_PUBLIC_MCP_SERVER_URL || "https://apimtaiji.azure-api.net/api/mcp", mcpServer: process.env.NEXT_PUBLIC_MCP_SERVER_URL || "http://localhost:8002",
gateway: process.env.NEXT_PUBLIC_API_GATEWAY_URL || "https://apimtaiji.azure-api.net/api/mcp", gateway: process.env.NEXT_PUBLIC_API_GATEWAY_URL || "http://localhost:8002",
} }
import { getAuthToken, clearAllTokens } from "@/lib/auth" import { getAuthToken, clearAllTokens } from "@/lib/auth"