Files
longdianningxing/nladmin-ui/src/assets/styles/variables.scss
2024-05-28 15:56:00 +08:00

49 lines
1.2 KiB
SCSS

// base color
$blue:#324157;
$light-blue:#3A71A8;
$red:#C03639;
$pink: #E65D6E;
$green: #30B08F;
$tiffany: #4AB7BD;
$yellow:#FEC171;
$panGreen: #30B08F;
$base-logo-title-color: #ffffff;
$base-logo-light-title-color: #001529;
$base-menu-light-background:#ffffff;
// sidebar
$menuText: #ffffff;
$menuActiveText:#409EFF;
$subMenuActiveText: #ffffff; // https://github.com/ElemeFE/element/issues/12951
$menuBg: #001529; //https://cloud.tencent.com/developer/article/1753773
$menuHover:#4e5465;
$base-menu-light-color:rgba(0,0,0,.70);
$subMenuBg:#000c17;
$subMenuHover:#4e5465;
$sideBarWidth: 205px;
// 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;
menuLightBackground: $base-menu-light-background;
menuLightColor: $base-menu-light-color;
menuHover: $menuHover;
subMenuBg: $subMenuBg;
subMenuHover: $subMenuHover;
sideBarWidth: $sideBarWidth;
logoTitleColor: $base-logo-title-color;
logoLightTitleColor: $base-logo-light-title-color
}
$base-sidebar-width: 2010px;