feat: replace SolidColorBrush with StaticResource references in XAML files.

This commit is contained in:
Zhang Dian
2025-04-30 01:08:26 +08:00
parent feabff636f
commit 37b7d827f1
12 changed files with 34 additions and 37 deletions

View File

@@ -1,9 +1,9 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<StaticResource x:Key="TimelineHeaderForeground" ResourceKey="SemiColorText0" />
<SolidColorBrush x:Key="DefaultTimelineIconForeground" Opacity="0.20" Color="White" />
<StaticResource x:Key="DefaultTimelineIconForeground" ResourceKey="SemiColorFill2" />
<StaticResource x:Key="OngoingTimelineIconForeground" ResourceKey="SemiColorPrimary" />
<StaticResource x:Key="SuccessTimelineIconForeground" ResourceKey="SemiColorSuccess" />
<StaticResource x:Key="WarningTimelineIconForeground" ResourceKey="SemiColorWarning" />
<StaticResource x:Key="ErrorTimelineIconForeground" ResourceKey="SemiColorDanger" />
<SolidColorBrush x:Key="TimelineLineBrush" Opacity="0.20" Color="White" />
<StaticResource x:Key="TimelineLineBrush" ResourceKey="SemiColorFill2" />
</ResourceDictionary>