Skip to content

Commit

Permalink
Update Animation
Browse files Browse the repository at this point in the history
  • Loading branch information
ghost1372 committed Jan 9, 2025
1 parent 0261b2d commit 49c0820
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 60 deletions.
60 changes: 30 additions & 30 deletions dev/DevWinUI.Controls/Themes/Generic.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -5741,69 +5741,69 @@ Themes\Styles\Win2D\Watermark.xaml
<VisualState x:Name="Waiting">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Border" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource StepBarItemInActiveBorderBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource StepBarItemInActiveBorderBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Content" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextFillColorPrimaryBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource TextFillColorPrimaryBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Number" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextFillColorPrimaryBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource TextFillColorPrimaryBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<!-- Info -->
<VisualState x:Name="Info">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Border" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource StepBarItemActiveBorderBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource StepBarItemActiveBorderBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Content" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource StepBarItemActiveBorderBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource StepBarItemActiveBorderBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Number" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource StepBarItemActiveBorderBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource StepBarItemActiveBorderBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<!-- Warning -->
<VisualState x:Name="Warning">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Border" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SystemFillColorCautionBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource SystemFillColorCautionBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Content" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SystemFillColorCautionBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource SystemFillColorCautionBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Number" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SystemFillColorCautionBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource SystemFillColorCautionBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<!-- Error -->
<VisualState x:Name="Error">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Border" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SystemFillColorCriticalBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource SystemFillColorCriticalBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Content" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SystemFillColorCriticalBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource SystemFillColorCriticalBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Number" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SystemFillColorCriticalBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource SystemFillColorCriticalBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<!-- Success -->
<VisualState x:Name="Success">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Border" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SystemFillColorSuccessBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource SystemFillColorSuccessBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Content" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SystemFillColorSuccessBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource SystemFillColorSuccessBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Number" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SystemFillColorSuccessBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource SystemFillColorSuccessBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
Expand All @@ -5829,69 +5829,69 @@ Themes\Styles\Win2D\Watermark.xaml
<VisualState x:Name="Waiting">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Border" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource StepBarItemInActiveBorderBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource StepBarItemInActiveBorderBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Content" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextFillColorPrimaryBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource TextFillColorPrimaryBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Number" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource TextFillColorPrimaryBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource TextFillColorPrimaryBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<!-- Info -->
<VisualState x:Name="Info">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Border" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource StepBarItemActiveBorderBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource StepBarItemActiveBorderBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Content" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource StepBarItemActiveBorderBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource StepBarItemActiveBorderBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Number" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource StepBarItemActiveBorderBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource StepBarItemActiveBorderBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<!-- Warning -->
<VisualState x:Name="Warning">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Border" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SystemFillColorCautionBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource SystemFillColorCautionBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Content" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SystemFillColorCautionBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource SystemFillColorCautionBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Number" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SystemFillColorCautionBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource SystemFillColorCautionBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<!-- Error -->
<VisualState x:Name="Error">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Border" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SystemFillColorCriticalBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource SystemFillColorCriticalBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Content" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SystemFillColorCriticalBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource SystemFillColorCriticalBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Number" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SystemFillColorCriticalBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource SystemFillColorCriticalBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<!-- Success -->
<VisualState x:Name="Success">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Border" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SystemFillColorSuccessBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource SystemFillColorSuccessBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Content" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SystemFillColorSuccessBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource SystemFillColorSuccessBrush}" />
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PART_Number" Storyboard.TargetProperty="Foreground">
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SystemFillColorSuccessBrush}" />
<DiscreteObjectKeyFrame KeyTime="0:0:0.1" Value="{ThemeResource SystemFillColorSuccessBrush}" />
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
Expand Down
Loading

0 comments on commit 49c0820

Please sign in to comment.