-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
32 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
/* 修改element颜色变量 */ | ||
// @forward 'element-plus/theme-chalk/src/common/var.scss' with ( | ||
// $colors: ( | ||
// 'primary': ( | ||
// 'base': green, | ||
// ), | ||
// ) | ||
// ); | ||
// @use "element-plus/theme-chalk/src/index.scss" as *; | ||
|
||
@use 'element-plus/theme-chalk/src/dark/css-vars.scss' as *; | ||
$text-color-base: #909399; | ||
|
||
@import '../theme.scss'; | ||
/* 修改element颜色变量 */ | ||
@forward 'element-plus/theme-chalk/src/common/var.scss' with ( | ||
$colors: (), | ||
$text-color: ( | ||
'primary': #909399, | ||
'regular': #606266, | ||
'placeholder': #ebeef5, | ||
) | ||
); | ||
@import '../el-theme.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,24 @@ | ||
/* 根据element 主题统一配色 */ | ||
:root { | ||
// 统一颜色主题 | ||
--color-white: #ffffff; | ||
--mian-color: #409eff; //主色 | ||
--sub-color: #a5cfff; //浅蓝1 | ||
--sub-color1: #ecf5ff; //浅蓝2 | ||
--mian-color: var(--el-color-primary); //主色 | ||
--sub-color: var(--el-color-primary-light-5); //浅蓝1 | ||
--sub-color-2: var(--el-color-primary-light-8); //浅蓝2 | ||
|
||
// 主题背景颜色 | ||
--main-bg-color: #ffffff; // 首选背景颜色 | ||
--sub-main-bg-content: #f5f6fa; //次选背景颜色 | ||
|
||
// 主题文字颜色 | ||
--text-color-primary: #909399; // 首选文字颜色 | ||
--text-color-regular: #606266; // 次选文字颜色 | ||
--text-color-regular: #303133; // 标题/选中 | ||
--text-color-placeholder: #ebeef5; //分割线/备注 | ||
--text-color-primary: var(--el-text-color-primary); // 首选文字颜色 | ||
--text-color-regular: var(--el-text-color-regular); // 次选文字颜色 | ||
--text-color-placeholder: var(--el-text-color-placeholder); //分割线/备注 | ||
|
||
--border-color-light: var(--el-border-color-light); | ||
} | ||
|
||
html.dark { | ||
// 统一颜色主题 | ||
--color-white: #ffffff; | ||
--mian-color: #409eff; //主色 | ||
--sub-color: #212121; | ||
--sub-color1: #153150; | ||
|
||
// 主题背景颜色 | ||
--main-bg-color: #212121; // 首选背景颜色 | ||
--sub-main-bg-content: #151515; //次选背景颜色 | ||
|
||
// 主题文字颜色 | ||
--text-color-primary: #c9d1d9; // 首选文字颜色 | ||
--text-color-regular: #dee2e6; // 次选文字颜色 | ||
--text-color-regular: #ffffff; // 标题/选中 | ||
--text-color-placeholder: #4a4a4a; //分割线/备注 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters