variables.scss
937 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: 72px;
// sidebar
$menuText:#ffffff;
$menuActiveText:#ffffff;
$subMenuActiveText:#ffffff;
$containerbg: #061850;
$menuBg:#0D1230;
$menuHover: #1D66DC;
$subMenuBg:#0D1230;
$subMenuHover:#1D66DC;
$sideBarWidth: 250px;
$sideBarFontSize:15px;
// border颜色
$borderColor: #EBEEF5;
// 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;
}