element-variables.scss 723 Bytes
/**
 * @Description: element-ui全局样式
 * @author lyk
 * @date 2019/6/4
*/
/**
* I think element-ui's default theme color is too light for long-term use.
* So I modified the default color and you can modify it to your liking.
**/

// $--color-primary: transparent ;
$--font-size-base: 14px;
$--font-size-extra-large: 20px;
$--font-size-large: 18px;
$--font-size-medium: 16px;
$--border-radius-base: 2px;
/* icon font path, required */
$--font-path: '~element-ui/lib/theme-chalk/fonts';

@import "~element-ui/packages/theme-chalk/src/index";
// the :export directive is the magic sauce for webpack
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
:export {
  fontSize: $--font-size-base
}