element-variables.scss 907 B

123456789101112131415161718192021222324252627282930313233
  1. /**
  2. * I think element-ui's default theme color is too light for long-term use.
  3. * So I modified the default color and you can modify it to your liking.
  4. **/
  5. /* theme color */
  6. $--color-primary: #5570F1; //主要
  7. $--color-success: #13ce66; //成功
  8. $--color-warning: #ffba00; //警告
  9. $--color-danger: #ff4949; //错误
  10. $--color-info: #F5F7FB;
  11. $--button-info-border-color: #E3E8FA;
  12. $--button-info-text-color: #333333 !default;
  13. $--button-font-weight: 400;
  14. // $--color-text-regular: #1f2d3d;
  15. $--border-color-light: #dfe4ed;
  16. $--border-color-lighter: #e6ebf5;
  17. $--table-border: 1px solid #dfe6ec;
  18. /* icon font path, required */
  19. $--font-path: "~element-ui/lib/theme-chalk/fonts";
  20. @import "~element-ui/packages/theme-chalk/src/index";
  21. // the :export directive is the magic sauce for webpack
  22. // https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
  23. :export {
  24. theme: $--color-primary;
  25. }