variables.scss 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. // sidebar
  2. // $menuText:#bfcbd9;
  3. // $menuActiveText:#409EFF;
  4. // $subMenuActiveText:#f4f4f5; //https://github.com/ElemeFE/element/issues/12951
  5. // $menuBg:#304156;
  6. // $menuHover:#263445;
  7. // $subMenuBg:#1f2d3d;
  8. // $subMenuHover:#001528;
  9. $menuText: #ffffff;
  10. $menuActiveText: #409eff;
  11. $subMenuActiveText: #409eff; //https://github.com/ElemeFE/element/issues/12951
  12. $menuBg: #001529;
  13. $menuHover: #000d18;
  14. $subMenuBg: #001529;
  15. $subMenuHover: #000d18;
  16. $sideBarWidth: 210px;
  17. // logo
  18. $logoText: #ffffff;
  19. $logoBg: #002140;
  20. // navbar
  21. $navbarBg: #ffffff;
  22. $navbarText: #333333;
  23. $navbarActiveText: #ffffff;
  24. $min-width: 1280px;
  25. $min-height: 720px;
  26. // the :export directive is the magic sauce for webpack
  27. // https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
  28. :export {
  29. menuText: $menuText;
  30. menuActiveText: $menuActiveText;
  31. subMenuActiveText: $subMenuActiveText;
  32. menuBg: $menuBg;
  33. menuHover: $menuHover;
  34. subMenuBg: $subMenuBg;
  35. subMenuHover: $subMenuHover;
  36. sideBarWidth: $sideBarWidth;
  37. logoText: $logoText;
  38. logoBg: $logoBg;
  39. navbarBg: $navbarBg;
  40. navbarText: $navbarText;
  41. navbarActiveText: $navbarActiveText;
  42. }