/** * @Description: 全局样式变量 * @author lyk * @date 2019/6/4 */ $titleHeight: 50px; $tabBarHeight: 38px; $asideBarHeight: 48px; $asideBarWidth: 60px; $asideBarActiveWidth: 220px; $margin: 10px; $border-radius: 0; $icon-size: 16px; $link-color: #2A75CE; $sideBarWidth: 210px; // the :export directive is the magic sauce for webpack // https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass :export { tabBarHeight: $tabBarHeight; asideBarWidth: $asideBarWidth; asideBarActiveWidth: $asideBarActiveWidth; linkColor: $link-color; }