Browse Source

feat: 黑色样式修改

pull/136/head
wangdan 2 years ago committed by wangdan-fit2cloud
parent
commit
ccc01c3c3a
  1. 8
      frontend/src/styles/element-dark.scss
  2. 2
      frontend/src/views/login/components/login-form.vue
  3. 2
      frontend/vite.config.ts

8
frontend/src/styles/element-dark.scss

@ -46,6 +46,9 @@ html.dark {
--el-table-border: var(--panel-border);
--el-table-border-color: rgb(64, 67, 67);
}
.el-message-box {
--el-messagebox-title-color: #999999;
}
.el-alert--info {
--el-alert-bg-color: rgb(56, 59, 59);
@ -57,7 +60,7 @@ html.dark {
}
.el-pagination {
--el-pagination-button-color: #999999;
--el-pagination-button-color: #999999;
}
// * wangEditor
@ -78,6 +81,9 @@ html.dark {
background-color: #ffffff;
box-shadow: 0 0 0 1px #dcdfe6 inset;
}
.el-input__inner {
color: #606266;
}
}
}

2
frontend/src/views/login/components/login-form.vue

@ -357,7 +357,7 @@ onMounted(() => {
background: none !important;
box-shadow: none !important;
border-radius: 0 !important;
border-top: 1px solid #f2f2f2;
border-bottom: 1px solid #dcdfe6;
}
}

2
frontend/vite.config.ts

@ -37,7 +37,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
open: viteEnv.VITE_OPEN,
proxy: {
'/api/v1': {
target: 'http://localhost:9999/',
target: 'http://172.16.10.181:9999/',
changeOrigin: true,
},
},

Loading…
Cancel
Save