更新uniapp和platform
This commit is contained in:
1 parent
31ae07175d
commit
7f9a66da0f
47 files changed
+5207
-1974
No files matched your search
@@ -1,12 +1,51 @@
|
||||
// Element Plus Message z-index
|
||||
// 全局主题:浅蓝白后台框架
|
||||
// 自定义变量供顶栏 / 侧栏 / 内容区统一取色,Element Plus 主色同步收敛。
|
||||
:root {
|
||||
--el-message-z-index: 9999;
|
||||
|
||||
--el-color-primary: #2f6bff;
|
||||
--el-color-primary-light-3: #6f97ff;
|
||||
--el-color-primary-light-5: #97b5ff;
|
||||
--el-color-primary-light-7: #c5d8ff;
|
||||
--el-color-primary-light-8: #dce7ff;
|
||||
--el-color-primary-light-9: #eef4ff;
|
||||
--el-color-primary-dark-2: #2555cc;
|
||||
|
||||
--yz-primary: #2f6bff;
|
||||
--yz-primary-soft: #eef4ff;
|
||||
--yz-primary-softer: #f6f9ff;
|
||||
--yz-header-bg: #ffffff;
|
||||
--yz-aside-bg: #ffffff;
|
||||
--yz-page-bg: #f4f7fd;
|
||||
--yz-card-bg: #ffffff;
|
||||
--yz-border: #e8edf7;
|
||||
--yz-text: #24304a;
|
||||
--yz-text-regular: #5b6785;
|
||||
--yz-text-muted: #93a0b8;
|
||||
--yz-shadow: 0 2px 12px rgba(31, 61, 130, 0.06);
|
||||
--yz-header-height: 64px;
|
||||
}
|
||||
|
||||
// 暗色模式:只覆盖框架自定义变量,Element Plus 变量交给官方 dark css-vars
|
||||
html.dark {
|
||||
--yz-primary: #6f97ff;
|
||||
--yz-primary-soft: rgba(64, 110, 220, 0.2);
|
||||
--yz-primary-softer: rgba(64, 110, 220, 0.12);
|
||||
--yz-header-bg: #1b1f2b;
|
||||
--yz-aside-bg: #1b1f2b;
|
||||
--yz-page-bg: #131720;
|
||||
--yz-card-bg: #1f2431;
|
||||
--yz-border: #2c3344;
|
||||
--yz-text: #e8ecf6;
|
||||
--yz-text-regular: #b9c2d6;
|
||||
--yz-text-muted: #8692ac;
|
||||
--yz-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
// body 样式
|
||||
body {
|
||||
// background-color: #f5f7fa;
|
||||
color: #303133;
|
||||
color: var(--yz-text);
|
||||
background-color: var(--yz-page-bg);
|
||||
transition: background-color 0.3s ease, color 0.3s ease;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user