From 37b7d827f126b91aba3bb6a3931362735c98ba6d Mon Sep 17 00:00:00 2001 From: Zhang Dian <54255897+zdpcdt@users.noreply.github.com> Date: Wed, 30 Apr 2025 01:08:26 +0800 Subject: [PATCH] feat: replace SolidColorBrush with StaticResource references in XAML files. --- src/Ursa.Themes.Semi/Themes/Dark/Avatar.axaml | 34 +++++++++---------- .../Themes/Dark/ButtonGroup.axaml | 5 +-- src/Ursa.Themes.Semi/Themes/Dark/Clock.axaml | 4 +-- .../Themes/Dark/DatePicker.axaml | 4 +-- .../Themes/Dark/Divider.axaml | 2 +- .../Themes/Dark/DualBadge.axaml | 6 ++-- .../Themes/Dark/NotificationShared.axaml | 2 +- .../Themes/Dark/PopConfirm.axaml | 4 +-- src/Ursa.Themes.Semi/Themes/Dark/Rating.axaml | 2 +- .../Themes/Dark/SelectionList.axaml | 2 +- .../Themes/Dark/TagInput.axaml | 2 +- .../Themes/Dark/Timeline.axaml | 4 +-- 12 files changed, 34 insertions(+), 37 deletions(-) diff --git a/src/Ursa.Themes.Semi/Themes/Dark/Avatar.axaml b/src/Ursa.Themes.Semi/Themes/Dark/Avatar.axaml index 53516aa..acf2611 100644 --- a/src/Ursa.Themes.Semi/Themes/Dark/Avatar.axaml +++ b/src/Ursa.Themes.Semi/Themes/Dark/Avatar.axaml @@ -1,19 +1,19 @@  - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/Ursa.Themes.Semi/Themes/Dark/ButtonGroup.axaml b/src/Ursa.Themes.Semi/Themes/Dark/ButtonGroup.axaml index e5cd78f..9f42474 100644 --- a/src/Ursa.Themes.Semi/Themes/Dark/ButtonGroup.axaml +++ b/src/Ursa.Themes.Semi/Themes/Dark/ButtonGroup.axaml @@ -18,8 +18,7 @@ - - + @@ -38,7 +37,6 @@ - @@ -57,6 +55,5 @@ - \ No newline at end of file diff --git a/src/Ursa.Themes.Semi/Themes/Dark/Clock.axaml b/src/Ursa.Themes.Semi/Themes/Dark/Clock.axaml index 8a8052b..18bb75a 100644 --- a/src/Ursa.Themes.Semi/Themes/Dark/Clock.axaml +++ b/src/Ursa.Themes.Semi/Themes/Dark/Clock.axaml @@ -1,7 +1,7 @@  - - + + \ No newline at end of file diff --git a/src/Ursa.Themes.Semi/Themes/Dark/DatePicker.axaml b/src/Ursa.Themes.Semi/Themes/Dark/DatePicker.axaml index 14a6144..38075ea 100644 --- a/src/Ursa.Themes.Semi/Themes/Dark/DatePicker.axaml +++ b/src/Ursa.Themes.Semi/Themes/Dark/DatePicker.axaml @@ -9,7 +9,7 @@ - + @@ -29,7 +29,7 @@ - + diff --git a/src/Ursa.Themes.Semi/Themes/Dark/Divider.axaml b/src/Ursa.Themes.Semi/Themes/Dark/Divider.axaml index a7ce647..37ff4b8 100644 --- a/src/Ursa.Themes.Semi/Themes/Dark/Divider.axaml +++ b/src/Ursa.Themes.Semi/Themes/Dark/Divider.axaml @@ -1,3 +1,3 @@ - + \ No newline at end of file diff --git a/src/Ursa.Themes.Semi/Themes/Dark/DualBadge.axaml b/src/Ursa.Themes.Semi/Themes/Dark/DualBadge.axaml index 4919f48..18d9881 100644 --- a/src/Ursa.Themes.Semi/Themes/Dark/DualBadge.axaml +++ b/src/Ursa.Themes.Semi/Themes/Dark/DualBadge.axaml @@ -1,7 +1,7 @@  - White - White - White + + + diff --git a/src/Ursa.Themes.Semi/Themes/Dark/NotificationShared.axaml b/src/Ursa.Themes.Semi/Themes/Dark/NotificationShared.axaml index a10f618..d5a2c84 100644 --- a/src/Ursa.Themes.Semi/Themes/Dark/NotificationShared.axaml +++ b/src/Ursa.Themes.Semi/Themes/Dark/NotificationShared.axaml @@ -1,5 +1,5 @@  - inset 0 0 0 1 #1AFFFFFF, 0 4 14 0 #40000000 + diff --git a/src/Ursa.Themes.Semi/Themes/Dark/PopConfirm.axaml b/src/Ursa.Themes.Semi/Themes/Dark/PopConfirm.axaml index 3a34612..444a21e 100644 --- a/src/Ursa.Themes.Semi/Themes/Dark/PopConfirm.axaml +++ b/src/Ursa.Themes.Semi/Themes/Dark/PopConfirm.axaml @@ -1,6 +1,6 @@  - #43444A + - inset 0 0 0 1 #1AFFFFFF, 0 4 14 #40000000 + \ No newline at end of file diff --git a/src/Ursa.Themes.Semi/Themes/Dark/Rating.axaml b/src/Ursa.Themes.Semi/Themes/Dark/Rating.axaml index 77a5044..dcbbe13 100644 --- a/src/Ursa.Themes.Semi/Themes/Dark/Rating.axaml +++ b/src/Ursa.Themes.Semi/Themes/Dark/Rating.axaml @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/src/Ursa.Themes.Semi/Themes/Dark/SelectionList.axaml b/src/Ursa.Themes.Semi/Themes/Dark/SelectionList.axaml index 8bba683..232122a 100644 --- a/src/Ursa.Themes.Semi/Themes/Dark/SelectionList.axaml +++ b/src/Ursa.Themes.Semi/Themes/Dark/SelectionList.axaml @@ -1,3 +1,3 @@ - + \ No newline at end of file diff --git a/src/Ursa.Themes.Semi/Themes/Dark/TagInput.axaml b/src/Ursa.Themes.Semi/Themes/Dark/TagInput.axaml index 8158162..4a6482a 100644 --- a/src/Ursa.Themes.Semi/Themes/Dark/TagInput.axaml +++ b/src/Ursa.Themes.Semi/Themes/Dark/TagInput.axaml @@ -1,5 +1,5 @@ - + \ No newline at end of file diff --git a/src/Ursa.Themes.Semi/Themes/Dark/Timeline.axaml b/src/Ursa.Themes.Semi/Themes/Dark/Timeline.axaml index 68b52e4..ede09ca 100644 --- a/src/Ursa.Themes.Semi/Themes/Dark/Timeline.axaml +++ b/src/Ursa.Themes.Semi/Themes/Dark/Timeline.axaml @@ -1,9 +1,9 @@ - + - + \ No newline at end of file