From 47cb4232a84297d3000979e09fb94720ad4b6fe7 Mon Sep 17 00:00:00 2001
From: mistymoon
Date: Sat, 21 Mar 2026 23:04:29 +0800
Subject: [PATCH] fix(project): fix sub sidebar theme in two-column menu
- Reset light tokens for nested sub sidebars.
- Align the extra title logo theme with sidebarThemeSub.
---
.../base/design/src/design-tokens/default.css | 108 ++++++++++++++++++
packages/effects/layouts/src/basic/layout.vue | 2 +-
2 files changed, 109 insertions(+), 1 deletion(-)
diff --git a/packages/@core/base/design/src/design-tokens/default.css b/packages/@core/base/design/src/design-tokens/default.css
index 4ce7ff954..cf7dc28f2 100644
--- a/packages/@core/base/design/src/design-tokens/default.css
+++ b/packages/@core/base/design/src/design-tokens/default.css
@@ -109,6 +109,90 @@
color-scheme: light;
}
+.light,
+.light[data-theme='custom'],
+.light[data-theme='default'] {
+ /* Default background color of ...etc */
+ --background: 0 0% 100%;
+
+ /* 主体区域背景色 */
+ --background-deep: 216 20.11% 95.47%;
+ --foreground: 210 6% 21%;
+
+ /* Background color for */
+ --card: 0 0% 100%;
+ --card-foreground: 222.2 84% 4.9%;
+
+ /* Background color for popovers such as , , */
+ --popover: 0 0% 100%;
+ --popover-foreground: 222.2 84% 4.9%;
+
+ /* Muted backgrounds such as , and */
+ --muted: 240 4.8% 95.9%;
+ --muted-foreground: 240 3.8% 46.1%;
+
+ /* 主题颜色 */
+ --primary-foreground: 0 0% 98%;
+
+ /* Used for destructive actions such as