From cb452b6141d147db01bd26c995d1ac92a6cbeea6 Mon Sep 17 00:00:00 2001 From: hzh Date: Sat, 26 Aug 2023 16:38:29 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E2=9A=A1=20Skeleton=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9A=97=E9=BB=91=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wot-design-uni/components/wd-skeleton/index.scss | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/uni_modules/wot-design-uni/components/wd-skeleton/index.scss b/src/uni_modules/wot-design-uni/components/wd-skeleton/index.scss index 55cdf8c9..e755b997 100644 --- a/src/uni_modules/wot-design-uni/components/wd-skeleton/index.scss +++ b/src/uni_modules/wot-design-uni/components/wd-skeleton/index.scss @@ -1,6 +1,13 @@ @import '../common/abstracts/variable'; @import '../common/abstracts/mixin'; +.wot-theme-dark { + @include b(skeleton) { + @include e(col) { + background-color: $-dark-background4; + } + } +} @include b(skeleton) { box-sizing: border-box; @@ -65,7 +72,7 @@ animation: wd-skeleton-flashed 2s linear 2s infinite; } } - + @keyframes wd-skeleton-gradient { 0% { transform: translateX(-100%) skewX(-15deg); @@ -86,4 +93,4 @@ opacity: 1; } } -} \ No newline at end of file +}