mirror of
https://github.com/iczer/vue-antd-admin
synced 2025-04-06 04:00:06 +08:00
fix: fixed the color problem in night mode; 🐛
修复:修复黑夜模式下颜色问题;
This commit is contained in:
parent
7f5fbb7426
commit
d7a530db46
@ -22,7 +22,7 @@ const ANTD = {
|
|||||||
'component-background': '#fff',
|
'component-background': '#fff',
|
||||||
'heading-color': 'rgba(0, 0, 0, 0.85)',
|
'heading-color': 'rgba(0, 0, 0, 0.85)',
|
||||||
'text-color': 'rgba(0, 0, 0, 0.65)',
|
'text-color': 'rgba(0, 0, 0, 0.65)',
|
||||||
'text-color-inverse': '#fff',
|
'text-color-inverse': '#fefefe',
|
||||||
'text-color-secondary': 'rgba(0, 0, 0, 0.45)',
|
'text-color-secondary': 'rgba(0, 0, 0, 0.45)',
|
||||||
'shadow-color': 'rgba(0, 0, 0, 0.15)',
|
'shadow-color': 'rgba(0, 0, 0, 0.15)',
|
||||||
'border-color-split': '#f0f0f0',
|
'border-color-split': '#f0f0f0',
|
||||||
@ -35,8 +35,9 @@ const ANTD = {
|
|||||||
'disabled-color': 'rgba(0, 0, 0, 0.25)',
|
'disabled-color': 'rgba(0, 0, 0, 0.25)',
|
||||||
'menu-dark-color': 'rgba(254, 254, 254, 0.65)',
|
'menu-dark-color': 'rgba(254, 254, 254, 0.65)',
|
||||||
'menu-dark-highlight-color': '#fefefe',
|
'menu-dark-highlight-color': '#fefefe',
|
||||||
|
'menu-dark-selected-item-icon-color': '#fefefe',
|
||||||
'menu-dark-arrow-color': '#fefefe',
|
'menu-dark-arrow-color': '#fefefe',
|
||||||
'btn-primary-color': '#fff',
|
'btn-primary-color': '#fefefe',
|
||||||
},
|
},
|
||||||
light: {
|
light: {
|
||||||
'layout-body-background': '#f0f2f5',
|
'layout-body-background': '#f0f2f5',
|
||||||
@ -44,7 +45,7 @@ const ANTD = {
|
|||||||
'component-background': '#fff',
|
'component-background': '#fff',
|
||||||
'heading-color': 'rgba(0, 0, 0, 0.85)',
|
'heading-color': 'rgba(0, 0, 0, 0.85)',
|
||||||
'text-color': 'rgba(0, 0, 0, 0.65)',
|
'text-color': 'rgba(0, 0, 0, 0.65)',
|
||||||
'text-color-inverse': '#fff',
|
'text-color-inverse': '#fefefe',
|
||||||
'text-color-secondary': 'rgba(0, 0, 0, 0.45)',
|
'text-color-secondary': 'rgba(0, 0, 0, 0.45)',
|
||||||
'shadow-color': 'rgba(0, 0, 0, 0.15)',
|
'shadow-color': 'rgba(0, 0, 0, 0.15)',
|
||||||
'border-color-split': '#f0f0f0',
|
'border-color-split': '#f0f0f0',
|
||||||
@ -57,8 +58,9 @@ const ANTD = {
|
|||||||
'disabled-color': 'rgba(0, 0, 0, 0.25)',
|
'disabled-color': 'rgba(0, 0, 0, 0.25)',
|
||||||
'menu-dark-color': 'rgba(1, 1, 1, 0.65)',
|
'menu-dark-color': 'rgba(1, 1, 1, 0.65)',
|
||||||
'menu-dark-highlight-color': '#fefefe',
|
'menu-dark-highlight-color': '#fefefe',
|
||||||
|
'menu-dark-selected-item-icon-color': '#fefefe',
|
||||||
'menu-dark-arrow-color': '#fefefe',
|
'menu-dark-arrow-color': '#fefefe',
|
||||||
'btn-primary-color': '#fff',
|
'btn-primary-color': '#fefefe',
|
||||||
},
|
},
|
||||||
night: {
|
night: {
|
||||||
'layout-body-background': '#000',
|
'layout-body-background': '#000',
|
||||||
@ -66,7 +68,7 @@ const ANTD = {
|
|||||||
'component-background': '#141414',
|
'component-background': '#141414',
|
||||||
'heading-color': 'rgba(255, 255, 255, 0.85)',
|
'heading-color': 'rgba(255, 255, 255, 0.85)',
|
||||||
'text-color': 'rgba(255, 255, 255, 0.85)',
|
'text-color': 'rgba(255, 255, 255, 0.85)',
|
||||||
'text-color-inverse': '#141414',
|
'text-color-inverse': '#fefefe',
|
||||||
'text-color-secondary': 'rgba(255, 255, 255, 0.45)',
|
'text-color-secondary': 'rgba(255, 255, 255, 0.45)',
|
||||||
'shadow-color': 'rgba(255, 255, 255, 0.15)',
|
'shadow-color': 'rgba(255, 255, 255, 0.15)',
|
||||||
'border-color-split': '#303030',
|
'border-color-split': '#303030',
|
||||||
@ -79,8 +81,9 @@ const ANTD = {
|
|||||||
'disabled-color': 'rgba(255, 255, 255, 0.25)',
|
'disabled-color': 'rgba(255, 255, 255, 0.25)',
|
||||||
'menu-dark-color': 'rgba(254, 254, 254, 0.65)',
|
'menu-dark-color': 'rgba(254, 254, 254, 0.65)',
|
||||||
'menu-dark-highlight-color': '#fefefe',
|
'menu-dark-highlight-color': '#fefefe',
|
||||||
|
'menu-dark-selected-item-icon-color': '#fefefe',
|
||||||
'menu-dark-arrow-color': '#fefefe',
|
'menu-dark-arrow-color': '#fefefe',
|
||||||
'btn-primary-color': '#141414',
|
'btn-primary-color': '#fefefe',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user