Skip to content

Commit 5aa0404

Browse files
authored
fix(ui): default skeleton opacity and reduce animation peak (#11367)
1 parent 084482c commit 5aa0404

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/ui/src/lib/components/SkeletonBone.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
height = '1rem',
1313
radius = 'var(--radius-ml)',
1414
color = 'var(--clr-scale-ntrl-70)',
15-
opacity = 0.2
15+
opacity = 0.35
1616
}: Props = $props();
1717
</script>
1818

@@ -35,7 +35,7 @@
3535
opacity: var(--opacity-value);
3636
}
3737
100% {
38-
opacity: calc(var(--opacity-value) + var(--opacity-value) * 0.7);
38+
opacity: calc(var(--opacity-value) + var(--opacity-value) * 0.5);
3939
}
4040
}
4141
</style>

0 commit comments

Comments
 (0)