2021-03-07 21:29:41 +08:00
|
|
|
/**
|
|
|
|
* I think element-ui's default theme color is too light for long-term use.
|
|
|
|
* So I modified the default color and you can modify it to your liking.
|
|
|
|
**/
|
|
|
|
|
2021-09-02 14:28:15 +08:00
|
|
|
|
|
|
|
|
2021-03-07 21:29:41 +08:00
|
|
|
/* theme color */
|
2021-09-02 14:28:15 +08:00
|
|
|
|
2021-10-08 17:22:21 +08:00
|
|
|
/* $--color-primary: #0a7be0;
|
2021-05-28 16:31:07 +08:00
|
|
|
$--color-success: #67C23A;
|
|
|
|
$--color-warning: #E6A23C;
|
2021-10-08 17:22:21 +08:00
|
|
|
$--color-danger: #F56C6C; */
|
2021-03-07 21:29:41 +08:00
|
|
|
// $--color-info: #1E1E1E;
|
|
|
|
|
|
|
|
$--button-font-weight: 400;
|
|
|
|
|
|
|
|
$--border-color-light: #dfe4ed;
|
|
|
|
$--border-color-lighter: #e6ebf5;
|
|
|
|
|
|
|
|
$--table-border: 1px solid #dfe6ec;
|
|
|
|
|
|
|
|
$--font-path: "~element-ui/lib/theme-chalk/fonts";
|
|
|
|
|
|
|
|
@import "~element-ui/packages/theme-chalk/src/index";
|
2021-09-02 14:28:15 +08:00
|
|
|
// topBar
|
|
|
|
$topBarBg: #f1f3f8;
|
|
|
|
$topBarMenuHovor: rgba(158,158,158,.2);
|
|
|
|
$topBarMenuActive: $--color-primary;
|
|
|
|
$topBarMenuText: #1e212a;
|
|
|
|
$topBarMenuTextActive: #f4f4f5;
|
2021-03-03 15:06:52 +08:00
|
|
|
// sidebar
|
2021-09-02 14:28:15 +08:00
|
|
|
$leftMenuBg: #ffffff;
|
|
|
|
$leftMenuActive: #ebf4fd;
|
|
|
|
$leftMenuHovor: rgba(158,158,158,.2);
|
|
|
|
$leftMenuText: #1e212a;
|
|
|
|
$leftMenuTextActive: $--color-primary;
|
2021-03-03 15:06:52 +08:00
|
|
|
|
|
|
|
|
2021-09-02 14:28:15 +08:00
|
|
|
$colorBg: rgba(10, 123, 224, .1);
|
2021-03-03 15:06:52 +08:00
|
|
|
$sideBarWidth: 210px;
|
|
|
|
$topBarHeight: 56px;
|
2021-05-17 19:11:07 +08:00
|
|
|
$contentHeight: calc(100vh - 56px);
|
2021-03-03 15:06:52 +08:00
|
|
|
|
2021-09-02 14:28:15 +08:00
|
|
|
|
2021-03-03 15:06:52 +08:00
|
|
|
:export {
|
2021-03-07 21:29:41 +08:00
|
|
|
theme: $--color-primary;
|
2021-09-02 14:28:15 +08:00
|
|
|
|
2021-03-03 15:06:52 +08:00
|
|
|
sideBarWidth: $sideBarWidth;
|
2021-09-02 14:28:15 +08:00
|
|
|
|
|
|
|
|
|
|
|
topBarBg: $topBarBg;
|
|
|
|
topBarMenuHovor: $topBarMenuHovor;
|
|
|
|
topBarMenuActive: $topBarMenuActive;
|
|
|
|
topBarMenuText: $topBarMenuText;
|
|
|
|
topBarMenuTextActive: $topBarMenuTextActive;
|
|
|
|
leftMenuBg: $leftMenuBg;
|
|
|
|
leftMenuActive: $leftMenuActive;
|
|
|
|
leftMenuHovor: $leftMenuHovor;
|
|
|
|
leftMenuText: $leftMenuText;
|
|
|
|
leftMenuTextActive: $leftMenuTextActive;
|
2021-03-03 15:06:52 +08:00
|
|
|
}
|