From 2018f6287fda64f6e5cb8e00b347f71c09ff685c Mon Sep 17 00:00:00 2001 From: sight <1453017105@qq.com> Date: Wed, 30 Mar 2022 10:51:02 +0800 Subject: [PATCH 1/3] =?UTF-8?q?fix(style):=20=E5=A4=9C=E9=97=B4=E4=B8=BB?= =?UTF-8?q?=E9=A2=98=E4=B8=8B=E5=BF=BD=E7=95=A5=E9=A2=9C=E8=89=B2=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=99=A8=EF=BC=9B=E6=B7=BB=E5=8A=A0=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E6=BB=9A=E5=8A=A8=E6=9D=A1=E5=8F=8D=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/provider/index.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/provider/index.vue b/src/provider/index.vue index 60e7bc33..f39145f2 100644 --- a/src/provider/index.vue +++ b/src/provider/index.vue @@ -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(); From c991c20c2d6025d8919e0c988b2da4cddfef938a Mon Sep 17 00:00:00 2001 From: sight <1453017105@qq.com> Date: Wed, 30 Mar 2022 12:14:41 +0800 Subject: [PATCH 2/3] =?UTF-8?q?fix(checkbox):=20=E6=9A=97=E8=89=B2?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E9=9D=9E=E9=80=89=E4=B8=AD=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=BC=82=E5=B8=B8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/component/checkbox/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/component/checkbox/index.vue b/src/component/checkbox/index.vue index fb8ee169..2b114f0b 100644 --- a/src/component/checkbox/index.vue +++ b/src/component/checkbox/index.vue @@ -105,7 +105,7 @@ const handleClick = function () { :lay-skin="skin" > - + From 9951c76cdd251b8c7efd8ca5809e2e2ef72decb8 Mon Sep 17 00:00:00 2001 From: sight <1453017105@qq.com> Date: Wed, 30 Mar 2022 14:12:10 +0800 Subject: [PATCH 3/3] =?UTF-8?q?fix(style):=20=E9=A2=9C=E8=89=B2=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/provider/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/provider/index.vue b/src/provider/index.vue index f39145f2..9b57ae5e 100644 --- a/src/provider/index.vue +++ b/src/provider/index.vue @@ -45,12 +45,12 @@ const changeTheme = (theme: string) => { brightness: 100, contrast: 90, sepia: 0, - // darkSchemeTextColor: 'rgba(255, 255, 255, 0.9)', - // darkSchemeBackgroundColor: '#22272E' + // darkSchemeTextColor: 'rgba(255, 255, 255, 0.9)', + // darkSchemeBackgroundColor: '#22272E' }, { - invert: ['.scrollbar-thumb'], + invert: [], css: ``, - ignoreInlineStyle: ['.layui-colorpicker-trigger-span','layui-color-picker,div'], + ignoreInlineStyle: ['.layui-colorpicker-trigger-span','div.layui-color-picker *'], ignoreImageAnalysis: [], disableStyleSheetsProxy: false, });