Browse Source

1

dev-warehouse
zhangsiyu 2 years ago
parent
commit
f6ccd217d3
  1. 1
      src/main.js
  2. 6
      src/styles/custom-theme.scss
  3. 4
      src/styles/element-plus.scss

1
src/main.js

@ -28,6 +28,7 @@ import App from './App.vue';
import 'animate.css';
import dayjs from 'dayjs';
import 'styles/common.scss';
// import './styles/custom-theme.scss'
import './styles/index.scss'
import './styles/custom-theme.scss'
// 业务组件

6
src/styles/custom-theme.scss

@ -1,9 +1,9 @@
// @import "element-plus/theme-chalk/src/index.scss";
// // 定义错误按钮颜色
// $error-button-color: red;
$--color-primary: #FF0000; // 设置按钮的背景色
$--color-warning:#ff0000;
$--color-danger:#afd808
// // 定义警告按钮颜色
// $warning-button-color: orange;

4
src/styles/element-plus.scss

@ -22,4 +22,8 @@
),
),
);
// $--color-primary: #FF0000; // 设置按钮的背景色
// $--color-warning:#ff0000;
// $--color-danger:#afd808;
@use "element-plus/theme-chalk/src/index.scss" as *;
Loading…
Cancel
Save