element-variables.scss 847 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: #1890ff;
  7. // $--color-primary: #489ed3;
  8. $--color-primary: #AE8877;
  9. $--color-success: #13ce66;
  10. $--color-warning: #FFBA00;
  11. $--color-danger: #f16272;
  12. // $--color-info: #1E1E1E;
  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. }