Commit a1c3c53c1f298996584c773999e95d8f4064f923
1 parent
1e5fcd2c
chore: update style
Showing
13 changed files
with
16 additions
and
14 deletions
build/config/lessModifyVars.ts
@@ -17,12 +17,12 @@ const modifyVars = { | @@ -17,12 +17,12 @@ const modifyVars = { | ||
17 | // 'heading-color': '#2C3A61', // Title color | 17 | // 'heading-color': '#2C3A61', // Title color |
18 | // 'text-color': '#2C3A61', // Main text color | 18 | // 'text-color': '#2C3A61', // Main text color |
19 | 'text-color-secondary ': '#606266', // Subtext color | 19 | 'text-color-secondary ': '#606266', // Subtext color |
20 | - 'background-color-base': '#F0F2F5', // background color | 20 | + 'background-color-base': '#f4f7f9', // background color |
21 | 'font-size-base': '14px', // Main font size | 21 | 'font-size-base': '14px', // Main font size |
22 | 'box-shadow-base': '0 2px 8px rgba(0, 0, 0, 0.15)', // Floating shadow | 22 | 'box-shadow-base': '0 2px 8px rgba(0, 0, 0, 0.15)', // Floating shadow |
23 | 'border-color-base': '#F0F0F0', // Border color, | 23 | 'border-color-base': '#F0F0F0', // Border color, |
24 | 'border-color-split': '#F0F0F0', // Border color, | 24 | 'border-color-split': '#F0F0F0', // Border color, |
25 | - 'border-radius-base': '2px', // Component/float fillet | 25 | + 'border-radius-base': '4px', // Component/float fillet |
26 | }; | 26 | }; |
27 | //} | 27 | //} |
28 | 28 |
index.html
@@ -24,7 +24,7 @@ | @@ -24,7 +24,7 @@ | ||
24 | justify-content: center; | 24 | justify-content: center; |
25 | align-items: center; | 25 | align-items: center; |
26 | flex-direction: column; | 26 | flex-direction: column; |
27 | - background: #f0f2f5; | 27 | + background: #f4f7f9; |
28 | } | 28 | } |
29 | 29 | ||
30 | .app-loading .app-loading-wrap { | 30 | .app-loading .app-loading-wrap { |
src/components/Basic/src/BasicArrow.vue
@@ -15,7 +15,6 @@ | @@ -15,7 +15,6 @@ | ||
15 | 15 | ||
16 | export default defineComponent({ | 16 | export default defineComponent({ |
17 | name: 'BasicArrow', | 17 | name: 'BasicArrow', |
18 | - inheritAttrs: false, | ||
19 | components: { RightOutlined }, | 18 | components: { RightOutlined }, |
20 | props: { | 19 | props: { |
21 | // Expand contract, expand by default | 20 | // Expand contract, expand by default |
src/components/Basic/src/BasicHelp.vue
@@ -12,7 +12,6 @@ | @@ -12,7 +12,6 @@ | ||
12 | import { useDesign } from '/@/hooks/web/useDesign'; | 12 | import { useDesign } from '/@/hooks/web/useDesign'; |
13 | export default defineComponent({ | 13 | export default defineComponent({ |
14 | name: 'BasicHelp', | 14 | name: 'BasicHelp', |
15 | - inheritAttrs: false, | ||
16 | components: { Tooltip }, | 15 | components: { Tooltip }, |
17 | props: { | 16 | props: { |
18 | // max-width | 17 | // max-width |
src/components/Basic/src/BasicTitle.vue
@@ -15,7 +15,6 @@ | @@ -15,7 +15,6 @@ | ||
15 | 15 | ||
16 | export default defineComponent({ | 16 | export default defineComponent({ |
17 | name: 'BasicTitle', | 17 | name: 'BasicTitle', |
18 | - inheritAttrs: false, | ||
19 | components: { BasicHelp }, | 18 | components: { BasicHelp }, |
20 | props: { | 19 | props: { |
21 | helpMessage: { | 20 | helpMessage: { |
src/components/Drawer/src/BasicDrawer.vue
@@ -219,7 +219,7 @@ | @@ -219,7 +219,7 @@ | ||
219 | .ant-drawer-body { | 219 | .ant-drawer-body { |
220 | height: calc(100% - @header-height); | 220 | height: calc(100% - @header-height); |
221 | padding: 0; | 221 | padding: 0; |
222 | - background-color: @background-color-dark; | 222 | + background-color: #fff; |
223 | 223 | ||
224 | .scrollbar__wrap { | 224 | .scrollbar__wrap { |
225 | padding: 16px !important; | 225 | padding: 16px !important; |
src/components/Modal/src/index.less
src/components/Page/src/PageWrapper.vue
src/design/color.less
@@ -14,7 +14,8 @@ | @@ -14,7 +14,8 @@ | ||
14 | 14 | ||
15 | @white: #fff; | 15 | @white: #fff; |
16 | 16 | ||
17 | -@content-bg: #f0f2f5; | 17 | +@content-bg: #f4f7f9; |
18 | +// @content-bg: #f0f2f5; | ||
18 | 19 | ||
19 | @info-color: @primary-color; | 20 | @info-color: @primary-color; |
20 | 21 | ||
@@ -60,7 +61,7 @@ | @@ -60,7 +61,7 @@ | ||
60 | // ================================= | 61 | // ================================= |
61 | 62 | ||
62 | // dark | 63 | // dark |
63 | -@background-color-dark: #f0f2f5; | 64 | +@background-color-dark: #f4f7f9; |
64 | // light | 65 | // light |
65 | @background-color-light: #f5f7fa; | 66 | @background-color-light: #f5f7fa; |
66 | // layout content background | 67 | // layout content background |
src/layouts/default/header/MultipleHeader.vue
@@ -113,7 +113,7 @@ | @@ -113,7 +113,7 @@ | ||
113 | @prefix-cls: ~'@{namespace}-layout-multiple-header'; | 113 | @prefix-cls: ~'@{namespace}-layout-multiple-header'; |
114 | 114 | ||
115 | .@{prefix-cls} { | 115 | .@{prefix-cls} { |
116 | - margin-left: 1px; | 116 | + // margin-left: 1px; |
117 | transition: width 0.2s; | 117 | transition: width 0.2s; |
118 | flex: 0 0 auto; | 118 | flex: 0 0 auto; |
119 | 119 |
src/layouts/default/index.vue
src/settings/colorSetting.ts
@@ -16,11 +16,11 @@ export const HEADER_PRESET_BG_COLOR_LIST: string[] = [ | @@ -16,11 +16,11 @@ export const HEADER_PRESET_BG_COLOR_LIST: string[] = [ | ||
16 | 16 | ||
17 | // sider preset color | 17 | // sider preset color |
18 | export const SIDE_BAR_BG_COLOR_LIST: string[] = [ | 18 | export const SIDE_BAR_BG_COLOR_LIST: string[] = [ |
19 | + '#001529', | ||
19 | '#273352', | 20 | '#273352', |
20 | '#ffffff', | 21 | '#ffffff', |
21 | '#191b24', | 22 | '#191b24', |
22 | '#191a23', | 23 | '#191a23', |
23 | - '#001529', | ||
24 | '#304156', | 24 | '#304156', |
25 | '#001628', | 25 | '#001628', |
26 | '#28333E', | 26 | '#28333E', |
src/settings/projectSetting.ts
@@ -76,7 +76,7 @@ const setting: ProjectConfig = { | @@ -76,7 +76,7 @@ const setting: ProjectConfig = { | ||
76 | // Menu configuration | 76 | // Menu configuration |
77 | menuSetting: { | 77 | menuSetting: { |
78 | // sidebar menu bg color | 78 | // sidebar menu bg color |
79 | - bgColor: '#273352', | 79 | + bgColor: '#001529', |
80 | // Whether to fix the left menu | 80 | // Whether to fix the left menu |
81 | fixed: true, | 81 | fixed: true, |
82 | // Menu collapse | 82 | // Menu collapse |