Skip to content

Commit

Permalink
Merge pull request #6044 from kodadot/feat-dark-skeleton
Browse files Browse the repository at this point in the history
#6043 dark skeleton
  • Loading branch information
vikiival authored May 21, 2023
2 parents d3746c1 + 22f6db0 commit 42fc5e8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion libs/ui/src/components/NeoSkeleton/NeoSkeleton.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,20 @@ $grey-lightest: hsl(0, 0%, 93%);
$skeleton-margin: 0.25rem;
$base-border-radius: 4px;
.neo-skeleton {

&-item {
&.no-margin {
margin: 0 !important;
}

background-size: 400% 100%!important;
@include ktheme() {
background: linear-gradient(
90deg,
theme('k-shade') 25%,
rgba(theme('k-shade'), 0.5) 50%,
theme('k-shade') 75%
);
}
}

&-full-size {
Expand Down

0 comments on commit 42fc5e8

Please sign in to comment.