fix(style): 夜间主题下忽略颜色选择器;添加菜单滚动条反转
This commit is contained in:
parent
b3ef9d8d9a
commit
2018f6287f
@ -41,9 +41,18 @@ const changeLocales = (lang: string, locales: any, merge: boolean) => {
|
||||
const changeTheme = (theme: string) => {
|
||||
if (theme === "dark") {
|
||||
enableDarkMode({
|
||||
mode: 1,
|
||||
brightness: 100,
|
||||
contrast: 90,
|
||||
sepia: 10,
|
||||
sepia: 0,
|
||||
// darkSchemeTextColor: 'rgba(255, 255, 255, 0.9)',
|
||||
// darkSchemeBackgroundColor: '#22272E'
|
||||
}, {
|
||||
invert: ['.scrollbar-thumb'],
|
||||
css: ``,
|
||||
ignoreInlineStyle: ['.layui-colorpicker-trigger-span','layui-color-picker,div'],
|
||||
ignoreImageAnalysis: [],
|
||||
disableStyleSheetsProxy: false,
|
||||
});
|
||||
} else {
|
||||
disableDarkMode();
|
||||
|
Loading…
Reference in New Issue
Block a user