From d731a45caa0964924b8c6534ceb32db2b4ea06b8 Mon Sep 17 00:00:00 2001 From: sight <1453017105@qq.com> Date: Thu, 23 Jun 2022 13:01:08 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=80:=20progress=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=9A=97=E8=89=B2=E6=A8=A1=E5=BC=8F=E7=9A=84=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/component/src/provider/index.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/component/src/provider/index.vue b/package/component/src/provider/index.vue index 6375e735..e2225d69 100644 --- a/package/component/src/provider/index.vue +++ b/package/component/src/provider/index.vue @@ -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,