variables.scss
461 Bytes
// base color
$blue: #4bbeff;
// header
$headerHeight: 60px;
// sidebar
$menuText: #fff;
$menuActiveText: #3bb8ff;
$menuBg: #414755;
$menuHover: #28313d;
$sidebarWidth: 200px;
// 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;
menuBg: $menuBg;
menuHover: $menuHover;
sidebarWidth: $sidebarWidth;
}