fix: 抽离颜色列表组件

This commit is contained in:
mtruning
2022-03-12 23:51:03 +08:00
parent 58688e6e93
commit 859024056a
6 changed files with 96 additions and 101 deletions
+4 -4
View File
@@ -15,6 +15,10 @@ export const getThemeOverridesHook = () => {
// 通用
const commonObj = {
common: {
primaryColor: getAppTheme.value,
primaryColorHover: toLight(getAppTheme.value, 6),
primaryColorPressed: toLight(getAppTheme.value, 6),
primaryColorSuppl: getAppTheme.value,
borderRadius
}
}
@@ -27,10 +31,6 @@ export const getThemeOverridesHook = () => {
// 暗色主题
const dartObject = {
common: {
primaryColor: getAppTheme.value,
primaryColorHover: toLight(getAppTheme.value, 6),
primaryColorPressed: toLight(getAppTheme.value, 6),
primaryColorSuppl: getAppTheme.value,
...commonObj.common
},
LoadingBar: {