fix: fix timeline not able to react to theme change.
This commit is contained in:
9
src/Ursa.Themes.Semi/Themes/Dark/Timeline.axaml
Normal file
9
src/Ursa.Themes.Semi/Themes/Dark/Timeline.axaml
Normal file
@@ -0,0 +1,9 @@
|
||||
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<!-- Add Resources Here -->
|
||||
<SolidColorBrush x:Key="DefaultTimelineIconForeground" Opacity="0.2" Color="White" />
|
||||
<SolidColorBrush x:Key="OngoingTimelineIconForeground" Color="#FF54A9FF" />
|
||||
<SolidColorBrush x:Key="SuccessTimelineIconForeground" Color="#FF5DC264" />
|
||||
<SolidColorBrush x:Key="WarningTimelineIconForeground" Color="#FFFFAE43" />
|
||||
<SolidColorBrush x:Key="ErrorTimelineIconForeground" Color="#FFFC725A" />
|
||||
<SolidColorBrush x:Key="TimelineLineBrush" Opacity="0.2" Color="White" />
|
||||
</ResourceDictionary>
|
||||
@@ -5,5 +5,6 @@
|
||||
<MergeResourceInclude Source="Banner.axaml" />
|
||||
<MergeResourceInclude Source="Divider.axaml" />
|
||||
<MergeResourceInclude Source="IPv4Box.axaml" />
|
||||
<MergeResourceInclude Source="Timeline.axaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
|
||||
@@ -5,4 +5,5 @@
|
||||
<SolidColorBrush x:Key="SuccessTimelineIconForeground" Color="#FF3BB346" />
|
||||
<SolidColorBrush x:Key="WarningTimelineIconForeground" Color="#FFFC8800" />
|
||||
<SolidColorBrush x:Key="ErrorTimelineIconForeground" Color="#FFF93920" />
|
||||
<SolidColorBrush x:Key="TimelineLineBrush" Opacity="0.13" Color="#FF2E3238" />
|
||||
</ResourceDictionary>
|
||||
|
||||
Reference in New Issue
Block a user