提交 | 用户 | 时间
|
e57a89
|
1 |
// base color |
懒 |
2 |
$blue:#324157; |
|
3 |
$light-blue:#3A71A8; |
|
4 |
$red:#C03639; |
|
5 |
$pink: #E65D6E; |
|
6 |
$green: #30B08F; |
|
7 |
$tiffany: #4AB7BD; |
|
8 |
$yellow:#FEC171; |
|
9 |
$panGreen: #30B08F; |
|
10 |
|
|
11 |
// 默认菜单主题风格 |
|
12 |
$base-menu-color:#bfcbd9; |
|
13 |
$base-menu-color-active:#f4f4f5; |
|
14 |
$base-menu-background: #011e2d; |
|
15 |
$base-logo-title-color: #ffffff; |
|
16 |
|
|
17 |
$base-menu-light-color:rgba(0,0,0,.70); |
|
18 |
$base-menu-light-background:#ffffff; |
|
19 |
$base-logo-light-title-color: #001529; |
|
20 |
|
|
21 |
$base-sub-menu-background:#1f2d3d; |
|
22 |
$base-sub-menu-hover:#001528; |
|
23 |
|
|
24 |
// 自定义暗色菜单风格 |
|
25 |
/** |
|
26 |
$base-menu-color:hsla(0,0%,100%,.65); |
|
27 |
$base-menu-color-active:#fff; |
|
28 |
$base-menu-background:#001529; |
|
29 |
$base-logo-title-color: #ffffff; |
|
30 |
|
|
31 |
$base-menu-light-color:rgba(0,0,0,.70); |
|
32 |
$base-menu-light-background:#ffffff; |
|
33 |
$base-logo-light-title-color: #001529; |
|
34 |
|
|
35 |
$base-sub-menu-background:#000c17; |
|
36 |
$base-sub-menu-hover:#001528; |
|
37 |
*/ |
|
38 |
|
|
39 |
$base-sidebar-width: 200px; |
|
40 |
|
|
41 |
// the :export directive is the magic sauce for webpack |
|
42 |
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass |
|
43 |
:export { |
|
44 |
menuColor: $base-menu-color; |
|
45 |
menuLightColor: $base-menu-light-color; |
|
46 |
menuColorActive: $base-menu-color-active; |
|
47 |
menuBackground: $base-menu-background; |
|
48 |
menuLightBackground: $base-menu-light-background; |
|
49 |
subMenuBackground: $base-sub-menu-background; |
|
50 |
subMenuHover: $base-sub-menu-hover; |
|
51 |
sideBarWidth: $base-sidebar-width; |
|
52 |
logoTitleColor: $base-logo-title-color; |
|
53 |
logoLightTitleColor: $base-logo-light-title-color |
|
54 |
} |