feat: 添加模型上下文管理并统一主题组件与用量交互

This commit is contained in:
2026-09-05 21:58:37 +08:00
parent 031ab135d2
commit 7551716e13
33 changed files with 738 additions and 38 deletions
+16
View File
@@ -328,3 +328,19 @@ ol {
--sidebar-secondary-width: 224px;
}
}
/* Native form controls share the same surfaces as component controls. */
:where(input:not([type='checkbox']):not([type='radio']):not([type='range']):not([type='color']), textarea, select) {
background-color: var(--color-surface-primary);
border-color: var(--color-border-default);
}
:root { color-scheme: light; }
[data-theme='dark'] { color-scheme: dark; }
[data-theme='sepia'] {
--color-accent-primary-active: #5d3d22;
--color-accent-secondary: #947044;
--color-accent-soft-hover: #e3d1aa;
--color-border-focus: #8a5b32;
--color-border-disabled: #eadfc4;
}