docs: 修改了黑暗模式注释

This commit is contained in:
wang_fan_w 2024-05-02 11:25:38 +08:00
parent 114f1f3942
commit bc06b49a09
2 changed files with 3 additions and 2 deletions

View File

@ -29,10 +29,10 @@ const { cacheRoutes } = storeToRefs(routerStore);
<style lang="scss" scoped> <style lang="scss" scoped>
.content { .content {
height: calc(100vh - 60px - 30px); // -footer height: calc(100vh - 60px - 30px); // -footer
background: $color-bg-3; //
} }
.scrollbar { .scrollbar {
height: calc(100% - 40px); height: calc(100% - 40px);
background: $color-border-1; //
} }
.main { .main {
padding: $padding; padding: $padding;

View File

@ -26,7 +26,8 @@ html {
} }
// 设置全局颜色-关联黑暗模式 // 设置全局颜色-关联黑暗模式
// 全局取一级容器背景色$color-bg-2main窗口取边框色浅色$color-border-1
body { body {
background: $color-bg-2; // body背景颜色 background: $color-bg-2; // body背景颜色
color: var(--color-text-1); // 整体文字的颜色 color: $color-text-1; // 整体文字的颜色
} }