✨(component): 调整 dark theme 整体饱和度
This commit is contained in:
parent
6d5d2224d2
commit
892e61d3f5
@ -58,7 +58,7 @@ const changeTheme = (theme: string) => {
|
|||||||
const defaultPartial: Partial<Theme> = {
|
const defaultPartial: Partial<Theme> = {
|
||||||
mode: 1,
|
mode: 1,
|
||||||
brightness: 100,
|
brightness: 100,
|
||||||
contrast: 90,
|
contrast: 80,
|
||||||
sepia: 0,
|
sepia: 0,
|
||||||
grayscale: 0,
|
grayscale: 0,
|
||||||
};
|
};
|
||||||
|
@ -157,6 +157,7 @@ const layer = {
|
|||||||
const options = mergeOption(option, defaultOption);
|
const options = mergeOption(option, defaultOption);
|
||||||
// 创建容器 Dom
|
// 创建容器 Dom
|
||||||
const modalContainer = createContainer();
|
const modalContainer = createContainer();
|
||||||
|
|
||||||
options.id = modalContainer.id;
|
options.id = modalContainer.id;
|
||||||
// 创建虚拟 Dom
|
// 创建虚拟 Dom
|
||||||
const modalInstance = h(
|
const modalInstance = h(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user