Skip to content

Commit

Permalink
style: 简化多主题样式
Browse files Browse the repository at this point in the history
  • Loading branch information
pany-ang committed Mar 25, 2024
1 parent 7e22f89 commit 7837bac
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 25 deletions.
1 change: 0 additions & 1 deletion src/layouts/components/AppMain.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ const settingsStore = useSettingsStore()
.app-main {
width: 100%;
background-color: var(--v3-body-bg-color);
display: flex;
}
Expand Down
5 changes: 0 additions & 5 deletions src/styles/theme/core/error-page.scss

This file was deleted.

3 changes: 0 additions & 3 deletions src/styles/theme/core/index.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
.#{$theme-name} {
@import "./layouts.scss";
@import "./login.scss";
@import "./error-page.scss";
@import "./element-plus.scss";
@import "./vxe-table.scss";
@import "./other.scss";
}
4 changes: 4 additions & 0 deletions src/styles/theme/core/layouts.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
/** Layout 相关 */

body {
background-color: $theme-bg-color;
}

#app {
color: $font-color;
// 右侧设置面板
Expand Down
9 changes: 0 additions & 9 deletions src/styles/theme/core/login.scss

This file was deleted.

6 changes: 0 additions & 6 deletions src/styles/theme/core/other.scss

This file was deleted.

2 changes: 1 addition & 1 deletion src/views/login/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ createCode()
max-width: 90%;
border-radius: 20px;
box-shadow: 0 0 10px #dcdfe6;
background-color: #fff;
background-color: var(--el-bg-color-overlay);
overflow: hidden;
.title {
display: flex;
Expand Down

0 comments on commit 7837bac

Please sign in to comment.