fix: 同步制作接口并修复浅色主题层次

This commit is contained in:
GouJ
2026-09-14 10:08:54 +08:00
parent 2eea0ea72e
commit 7ea3f2a0b4
19 changed files with 641 additions and 93 deletions
+12 -3
View File
@@ -2,13 +2,13 @@
:root {
--app-ink: #191919;
--app-muted: #707070;
--app-body: #ededed;
--app-body: #ffffff;
--app-surface: #ffffff;
--app-subtle: #f7f7f7;
--app-control: #f0f0f0;
--app-control-hover: #e5e5e5;
--app-field: #ffffff;
--app-field-hover: #ffffff;
--app-field: #f0f0f0;
--app-field-hover: #e8e8e8;
--app-border: #e5e5e5;
--app-inverse: #ffffff;
--app-accent: #07c160;
@@ -208,6 +208,7 @@ body {
min-width: 0;
}
.workspace-tabs > .n-tabs-nav {
background: var(--app-surface);
align-items: stretch;
}
.workspace-tabs .n-tabs-tab {
@@ -437,3 +438,11 @@ body {
grid-template-rows: minmax(0, 1fr) 130px;
}
}
/* 导航保留明确选中态与轻量悬停反馈,明暗模式共用主题变量。 */
.workspace-tabs .n-tabs-tab--active {
font-weight: 600;
}
.workspace-tabs .n-tabs-tab:hover {
background: var(--app-subtle);
}