Merge branch 'next' of https://gitee.com/layui/layui-vue into next

This commit is contained in:
就眠儀式 2022-06-23 15:45:22 +08:00
commit f67a133f94

View File

@ -35,6 +35,12 @@ const ignoreInlineStyle = [
"div.layui-color-picker *", "div.layui-color-picker *",
]; ];
const fixCss = `
.lay-progress-circle svg {
filter: invert(98%) hue-rotate(180deg) contrast(80%) !important;
}
`
const changeLocale = (lang: string) => { const changeLocale = (lang: string) => {
locale.value = lang; locale.value = lang;
}; };
@ -57,7 +63,7 @@ const changeTheme = (theme: string) => {
}; };
const defaultFixes: DynamicThemeFix = { const defaultFixes: DynamicThemeFix = {
css: "", css: fixCss,
invert: [".lay-progress-circle svg"], invert: [".lay-progress-circle svg"],
ignoreImageAnalysis: [], ignoreImageAnalysis: [],
disableStyleSheetsProxy: false, disableStyleSheetsProxy: false,