🌀: progress 优化暗色模式的颜色

This commit is contained in:
sight 2022-06-23 13:01:08 +08:00
parent 057b3c4243
commit d731a45caa

View File

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