新增骨架屏控件

This commit is contained in:
Coolkeke
2023-12-27 00:30:42 +08:00
parent 1d6f3b10ce
commit 30a303f524
17 changed files with 209 additions and 1 deletions

View File

@@ -0,0 +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" />
</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" />
</LinearGradientBrush>
<!-- Add Resources Here -->
</ResourceDictionary>

View File

@@ -13,5 +13,6 @@
<MergeResourceInclude Source="Pagination.axaml" />
<MergeResourceInclude Source="TagInput.axaml" />
<MergeResourceInclude Source="Timeline.axaml" />
<MergeResourceInclude Source="Skeleton.axaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>