perf: 修改主题 btn 颜色

This commit is contained in:
ibuler
2022-07-13 11:11:50 +08:00
committed by huailei
parent 3fba41b27b
commit 6fb34451d9
4 changed files with 9 additions and 5 deletions

View File

@@ -7,6 +7,11 @@
border-color: info;
}
.el-button--success {
background-color: success;
border-color: success;
}
.el-alert--info.is-light {
background-color: light-9;
color: light-2;

View File

@@ -13,8 +13,8 @@ export default {
<style>
:root {
--color-primary: #1ab394;
--color-success: #1c84c6;
--color-info: #23c6c8;
--color-success: #2793d7;
--color-info: #1c84c6;
--color-warning: #f8ac59;
--color-danger: #ed5565;
--menu-bg: #2f4050;

View File

@@ -80,7 +80,6 @@ export function changeMenuColor(themeColors) {
elementStyle.setProperty('--menu-hover', menuHoverColor)
elementStyle.setProperty('--submenu-bg', subMenuBgColor)
elementStyle.setProperty('--submenu-hover', subMenuHoverColor)
console.log('Set subm ', subMenuHoverColor)
}
}
}

View File

@@ -1,7 +1,7 @@
const config = {
'--color-primary': '#1ab394',
'--color-success': '#1c84c6',
'--color-info': '#0d6efd',
'--color-success': '#2793d7',
'--color-info': '#1c84c6',
'--color-warning': '#f8ac59',
'--color-danger': '#ed5565',
'--menu-bg': '#2f4050',