Skip to content

Commit

Permalink
fix: Skeleton active style in dark theme (ant-design#36116)
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 authored Jun 19, 2022
1 parent ef286d5 commit 8d05774
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 8d05774

Please sign in to comment.