feat: 1. Ease and playback to avoid jumping color.

2. Temporarily use SemiGray color.
This commit is contained in:
rabbitism
2023-12-27 16:55:42 +08:00
parent 30a303f524
commit 7890071cae
3 changed files with 53 additions and 53 deletions

View File

@@ -1,13 +1,13 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<LinearGradientBrush x:Key="SkeletonStartAnimationBackground" StartPoint="0%,100%" EndPoint="100%,100%">
<GradientStop Offset="0" Color="#EAEBEB" />
<GradientStop Offset="0" Color="#E2E3E4" />
<GradientStop Offset="1" Color="#EAEBEB" />
<GradientStop Offset="0" Color="#FF1C1F23" />
<GradientStop Offset="0" Color="#FF2E3238" />
<GradientStop Offset="1" Color="#FF1C1F23" />
</LinearGradientBrush>
<LinearGradientBrush x:Key="SkeletonEndAnimationBackground" StartPoint="0%,100%" EndPoint="100%,100%">
<GradientStop Offset="0" Color="#EAEBEB" />
<GradientStop Offset="1" Color="#E2E3E4" />
<GradientStop Offset="1" Color="#EAEBEB" />
<GradientStop Offset="0" Color="#FF1C1F23" />
<GradientStop Offset="1" Color="#FF2E3238" />
<GradientStop Offset="1" Color="#FF1C1F23" />
</LinearGradientBrush>
<!-- Add Resources Here -->
</ResourceDictionary>