variables.scss 987 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. $navigationBarHeight: 64px;
  11. $mainAppMinHeight: calc(100vh - #{$navigationBarHeight});
  12. // sidebar
  13. $menuText: #000;
  14. $menuActiveText: #fff;
  15. $subMenuActiveText: #000; // https://github.com/ElemeFE/element/issues/12951
  16. $menuBg: #FFF;
  17. $menuHover: #909DD8;
  18. $subMenuBg: #FFF;
  19. $subMenuHover: #909DD8;
  20. $itemActiveBg: #001489;
  21. $subMenuActiveBg: #fff;
  22. $sideBarWidth: 300px;
  23. // the :export directive is the magic sauce for webpack
  24. // https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
  25. :export {
  26. menuText: $menuText;
  27. menuActiveText: $menuActiveText;
  28. subMenuActiveText: $subMenuActiveText;
  29. menuBg: $menuBg;
  30. menuHover: $menuHover;
  31. subMenuBg: $subMenuBg;
  32. subMenuHover: $subMenuHover;
  33. sideBarWidth: $sideBarWidth;
  34. navigationBarHeight: $navigationBarHeight;
  35. mainAppMinHeight: $mainAppMinHeight;
  36. }