Skip to content

Commit

Permalink
fix: Skeleton active style in dark theme
Browse files Browse the repository at this point in the history
close #36114
  • Loading branch information
afc163 committed Jun 18, 2022
1 parent ef286d5 commit 25e4e20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/skeleton/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@
.skeleton-color() {
position: relative;
overflow: hidden;
background: #fff;
background: transparent;

&::after {
position: absolute;
Expand All @@ -276,9 +276,9 @@
@skeleton-color 25%,
@skeleton-to-color 37%,
@skeleton-color 63%
);
);
animation: ~'@{skeleton-prefix-cls}-loading' 1.4s ease infinite;
content: "";
content: '';
}
}

Expand Down

0 comments on commit 25e4e20

Please sign in to comment.