(component): 调整 dark theme 整体饱和度

This commit is contained in:
就眠儀式 2022-10-13 09:02:24 +08:00
parent 6d5d2224d2
commit 892e61d3f5
2 changed files with 2 additions and 1 deletions

View File

@ -58,7 +58,7 @@ const changeTheme = (theme: string) => {
const defaultPartial: Partial<Theme> = {
mode: 1,
brightness: 100,
contrast: 90,
contrast: 80,
sepia: 0,
grayscale: 0,
};

View File

@ -157,6 +157,7 @@ const layer = {
const options = mergeOption(option, defaultOption);
// 创建容器 Dom
const modalContainer = createContainer();
options.id = modalContainer.id;
// 创建虚拟 Dom
const modalInstance = h(