Skip to content

Commit

Permalink
feat: header,menu css样式抽离至@/styles/theme.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBoooooo committed Oct 12, 2020
1 parent 4083144 commit c7bf3af
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 338 deletions.
328 changes: 0 additions & 328 deletions src/styles/colors.ts

This file was deleted.

18 changes: 18 additions & 0 deletions src/styles/theme.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
* @file: 主题色 (siderbar,header)
* @copyright: NanJing Anshare Tech .Com
* @author: BoBo
* @Date: 2020年10月12 16:13:17
*/

export default Object.freeze({
header: {
textColor: '#3f51b5', // 顶部系统标题颜色
backgroundColor: '#fff', // 顶部背景色
},
sidebar: {
backgroundColor: '#e6edff', // 侧边栏菜单颜色
textColor: '#333', // 侧边栏字体颜色
activeTextColor: '#616dad', // 侧边栏高亮文字颜色
},
});
Loading

0 comments on commit c7bf3af

Please sign in to comment.