variables.scss
941 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// base color
$blue:#324157;
$light-blue:#0F93F6;
$red:#C03639;
$pink: #E65D6E;
$green: #30B08F;
$tiffany: #4AB7BD;
$yellow:#FEC171;
$panGreen: #30B08F;
// header
$headerHeight: 80px;
// sidebar
$menuText:#ffffff;
$menuActiveText:#ffffff;
$subMenuActiveText:#ffffff;
$menuBg:#202B3D;
$menuHover:#249af4;
$subMenuBg:#202B3D;
$subMenuHover:#0e6fba;
$sideBarWidth: 170px;
$sideBarFontSize:15px;
// border颜色
$borderColor: #EBEEF5;
$sliderBorderColor: #606266;
// the :export directive is the magic sauce for webpack
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
:export {
menuText: $menuText;
menuActiveText: $menuActiveText;
subMenuActiveText: $subMenuActiveText;
menuBg: $menuBg;
menuHover: $menuHover;
subMenuBg: $subMenuBg;
subMenuHover: $subMenuHover;
sideBarWidth: $sideBarWidth;
sideBarFontSize: $sideBarFontSize;
borderColor: $borderColor;
headerHeight: $headerHeight;
}