From 3c8ca203375e3f28171253daa0e12044523e46f1 Mon Sep 17 00:00:00 2001 From: Zhang Dian <54255897+zdpcdt@users.noreply.github.com> Date: Sat, 28 Dec 2024 14:01:42 +0800 Subject: [PATCH] feat: LightTheme. --- .../Themes/Light/AdornerLayer.axaml | 4 +- .../Themes/Light/AutoCompleteBox.axaml | 6 +- src/Semi.Avalonia/Themes/Light/Border.axaml | 6 +- src/Semi.Avalonia/Themes/Light/Button.axaml | 137 +++++++--------- .../Themes/Light/ButtonSpinner.axaml | 10 +- src/Semi.Avalonia/Themes/Light/Calendar.axaml | 54 +++---- .../Themes/Light/CalendarDatePicker.axaml | 23 ++- .../Themes/Light/CaptionButtons.axaml | 10 +- src/Semi.Avalonia/Themes/Light/Carousel.axaml | 12 +- src/Semi.Avalonia/Themes/Light/CheckBox.axaml | 61 ++++--- src/Semi.Avalonia/Themes/Light/ComboBox.axaml | 68 ++++---- .../Themes/Light/DataValidationErrors.axaml | 18 +-- .../Themes/Light/DateTimePickerShared.axaml | 39 ++--- src/Semi.Avalonia/Themes/Light/Expander.axaml | 12 +- src/Semi.Avalonia/Themes/Light/Flyout.axaml | 8 +- .../Themes/Light/HeaderedContentControl.axaml | 4 +- .../Themes/Light/HyperlinkButton.axaml | 8 +- src/Semi.Avalonia/Themes/Light/ListBox.axaml | 19 ++- .../Themes/Light/ManagedFileChooser.axaml | 4 +- src/Semi.Avalonia/Themes/Light/Menu.axaml | 33 ++-- .../Themes/Light/NotificationCard.axaml | 37 +++-- .../Themes/Light/ProgressBar.axaml | 22 +-- .../Themes/Light/RadioButton.axaml | 72 ++++----- .../Themes/Light/RefreshContainer.axaml | 2 +- .../Themes/Light/ScrollViewer.axaml | 8 +- src/Semi.Avalonia/Themes/Light/Slider.axaml | 14 +- .../Themes/Light/SplitView.axaml | 4 +- src/Semi.Avalonia/Themes/Light/TabItem.axaml | 13 +- .../Themes/Light/TextBlock.axaml | 27 ++-- src/Semi.Avalonia/Themes/Light/TextBox.axaml | 28 ++-- .../Themes/Light/ToggleButton.axaml | 151 ++++++++---------- .../Themes/Light/ToggleSwitch.axaml | 25 ++- src/Semi.Avalonia/Themes/Light/Tooltip.axaml | 4 +- src/Semi.Avalonia/Themes/Light/TreeView.axaml | 21 ++- src/Semi.Avalonia/Themes/Light/Window.axaml | 4 +- 35 files changed, 439 insertions(+), 529 deletions(-) diff --git a/src/Semi.Avalonia/Themes/Light/AdornerLayer.axaml b/src/Semi.Avalonia/Themes/Light/AdornerLayer.axaml index 976e2f0..37fa75f 100644 --- a/src/Semi.Avalonia/Themes/Light/AdornerLayer.axaml +++ b/src/Semi.Avalonia/Themes/Light/AdornerLayer.axaml @@ -1,4 +1,4 @@ - - + + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/AutoCompleteBox.axaml b/src/Semi.Avalonia/Themes/Light/AutoCompleteBox.axaml index 24d2c0e..c84e0fe 100644 --- a/src/Semi.Avalonia/Themes/Light/AutoCompleteBox.axaml +++ b/src/Semi.Avalonia/Themes/Light/AutoCompleteBox.axaml @@ -1,5 +1,5 @@ - 0 0 1 #4A000000, 0 4 14 #1A000000 - - + + + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/Border.axaml b/src/Semi.Avalonia/Themes/Light/Border.axaml index 9a473d0..ffe0ab5 100644 --- a/src/Semi.Avalonia/Themes/Light/Border.axaml +++ b/src/Semi.Avalonia/Themes/Light/Border.axaml @@ -1,5 +1,5 @@ - 0 0 1 #4A000000, 0 4 14 #1A000000 - - + + + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/Button.axaml b/src/Semi.Avalonia/Themes/Light/Button.axaml index 4365120..945a216 100644 --- a/src/Semi.Avalonia/Themes/Light/Button.axaml +++ b/src/Semi.Avalonia/Themes/Light/Button.axaml @@ -1,96 +1,77 @@ - - - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + - - - - - + + + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/ButtonSpinner.axaml b/src/Semi.Avalonia/Themes/Light/ButtonSpinner.axaml index 0e7e367..d1c798b 100644 --- a/src/Semi.Avalonia/Themes/Light/ButtonSpinner.axaml +++ b/src/Semi.Avalonia/Themes/Light/ButtonSpinner.axaml @@ -1,9 +1,9 @@ - - + + - + - - + + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/Calendar.axaml b/src/Semi.Avalonia/Themes/Light/Calendar.axaml index 92a51ef..42727dc 100644 --- a/src/Semi.Avalonia/Themes/Light/Calendar.axaml +++ b/src/Semi.Avalonia/Themes/Light/Calendar.axaml @@ -1,35 +1,29 @@ - - - - - - - - + + + + + + + - - - - - - - - - + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/CalendarDatePicker.axaml b/src/Semi.Avalonia/Themes/Light/CalendarDatePicker.axaml index 293451b..3a298b9 100644 --- a/src/Semi.Avalonia/Themes/Light/CalendarDatePicker.axaml +++ b/src/Semi.Avalonia/Themes/Light/CalendarDatePicker.axaml @@ -1,18 +1,17 @@ - - - - - - + + + + - - + + + + - 0 0 1 #4A000000, 0 4 14 #1A000000 - + - + - + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/CaptionButtons.axaml b/src/Semi.Avalonia/Themes/Light/CaptionButtons.axaml index 5846e21..77f474d 100644 --- a/src/Semi.Avalonia/Themes/Light/CaptionButtons.axaml +++ b/src/Semi.Avalonia/Themes/Light/CaptionButtons.axaml @@ -1,7 +1,7 @@ - - - - - + + + + + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/Carousel.axaml b/src/Semi.Avalonia/Themes/Light/Carousel.axaml index 4f990b9..608d577 100644 --- a/src/Semi.Avalonia/Themes/Light/Carousel.axaml +++ b/src/Semi.Avalonia/Themes/Light/Carousel.axaml @@ -1,8 +1,8 @@ - - - - - - + + + + + + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/CheckBox.axaml b/src/Semi.Avalonia/Themes/Light/CheckBox.axaml index 7b8f707..d0d6b2e 100644 --- a/src/Semi.Avalonia/Themes/Light/CheckBox.axaml +++ b/src/Semi.Avalonia/Themes/Light/CheckBox.axaml @@ -1,36 +1,29 @@ - - - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/ComboBox.axaml b/src/Semi.Avalonia/Themes/Light/ComboBox.axaml index 5dd62ad..4df35d1 100644 --- a/src/Semi.Avalonia/Themes/Light/ComboBox.axaml +++ b/src/Semi.Avalonia/Themes/Light/ComboBox.axaml @@ -1,48 +1,42 @@ - - - - - - + + + + + + - - - - - - - - - - - 0 0 1 #4A000000, 0 4 14 #1A000000 - - - - + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + - - + - + - + - + - + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/DataValidationErrors.axaml b/src/Semi.Avalonia/Themes/Light/DataValidationErrors.axaml index f84359d..4cf39a0 100644 --- a/src/Semi.Avalonia/Themes/Light/DataValidationErrors.axaml +++ b/src/Semi.Avalonia/Themes/Light/DataValidationErrors.axaml @@ -1,11 +1,11 @@ - - - - - - - - - + + + + + + + + + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/DateTimePickerShared.axaml b/src/Semi.Avalonia/Themes/Light/DateTimePickerShared.axaml index 24d691b..72c86de 100644 --- a/src/Semi.Avalonia/Themes/Light/DateTimePickerShared.axaml +++ b/src/Semi.Avalonia/Themes/Light/DateTimePickerShared.axaml @@ -1,32 +1,23 @@ - + - + - - - - + + + - - - - - - + + + - - - - - - - + + + + + - + - - 0 0 1 #4A000000, 0 4 14 #1A000000 + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/Expander.axaml b/src/Semi.Avalonia/Themes/Light/Expander.axaml index 15b20ad..fb8f9fb 100644 --- a/src/Semi.Avalonia/Themes/Light/Expander.axaml +++ b/src/Semi.Avalonia/Themes/Light/Expander.axaml @@ -1,9 +1,9 @@ - - - + + + - - - + + + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/Flyout.axaml b/src/Semi.Avalonia/Themes/Light/Flyout.axaml index 85ef491..e3d2b46 100644 --- a/src/Semi.Avalonia/Themes/Light/Flyout.axaml +++ b/src/Semi.Avalonia/Themes/Light/Flyout.axaml @@ -1,6 +1,6 @@ - - - - 0 0 1 #4A000000, 0 4 14 #1A000000 + + + + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/HeaderedContentControl.axaml b/src/Semi.Avalonia/Themes/Light/HeaderedContentControl.axaml index 501435b..888e10d 100644 --- a/src/Semi.Avalonia/Themes/Light/HeaderedContentControl.axaml +++ b/src/Semi.Avalonia/Themes/Light/HeaderedContentControl.axaml @@ -1,4 +1,4 @@  - - + + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/HyperlinkButton.axaml b/src/Semi.Avalonia/Themes/Light/HyperlinkButton.axaml index c7356e7..aa23021 100644 --- a/src/Semi.Avalonia/Themes/Light/HyperlinkButton.axaml +++ b/src/Semi.Avalonia/Themes/Light/HyperlinkButton.axaml @@ -1,7 +1,7 @@ - - - - + + + + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/ListBox.axaml b/src/Semi.Avalonia/Themes/Light/ListBox.axaml index 5cc327d..e9c34e9 100644 --- a/src/Semi.Avalonia/Themes/Light/ListBox.axaml +++ b/src/Semi.Avalonia/Themes/Light/ListBox.axaml @@ -1,15 +1,14 @@ - - + - - - - - - - + + + + + + + - + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/ManagedFileChooser.axaml b/src/Semi.Avalonia/Themes/Light/ManagedFileChooser.axaml index b00dcac..7209c6a 100644 --- a/src/Semi.Avalonia/Themes/Light/ManagedFileChooser.axaml +++ b/src/Semi.Avalonia/Themes/Light/ManagedFileChooser.axaml @@ -1,4 +1,4 @@ - - + + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/Menu.axaml b/src/Semi.Avalonia/Themes/Light/Menu.axaml index 254beca..d7216e7 100644 --- a/src/Semi.Avalonia/Themes/Light/Menu.axaml +++ b/src/Semi.Avalonia/Themes/Light/Menu.axaml @@ -1,26 +1,21 @@ - - - + + - - - 0 0 1 #4A000000, 0 4 14 #1A000000 - + + + - - - - - - - + + + + + - - - - + + + - + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/NotificationCard.axaml b/src/Semi.Avalonia/Themes/Light/NotificationCard.axaml index e1c5732..a6eb4a9 100644 --- a/src/Semi.Avalonia/Themes/Light/NotificationCard.axaml +++ b/src/Semi.Avalonia/Themes/Light/NotificationCard.axaml @@ -1,21 +1,20 @@ - - - - - - - 0 0 1 #4A000000, 0 4 14 #1A000000 - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/ProgressBar.axaml b/src/Semi.Avalonia/Themes/Light/ProgressBar.axaml index ff03bf3..a8885fd 100644 --- a/src/Semi.Avalonia/Themes/Light/ProgressBar.axaml +++ b/src/Semi.Avalonia/Themes/Light/ProgressBar.axaml @@ -1,15 +1,15 @@ - - - - + + + + - - - - - - + + + + + + - + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/RadioButton.axaml b/src/Semi.Avalonia/Themes/Light/RadioButton.axaml index 87ef1d9..c232295 100644 --- a/src/Semi.Avalonia/Themes/Light/RadioButton.axaml +++ b/src/Semi.Avalonia/Themes/Light/RadioButton.axaml @@ -1,49 +1,41 @@ - - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - + + - - - - - - - + + + + + + - - - - - - + + + + + + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/RefreshContainer.axaml b/src/Semi.Avalonia/Themes/Light/RefreshContainer.axaml index e67b05b..eec276e 100644 --- a/src/Semi.Avalonia/Themes/Light/RefreshContainer.axaml +++ b/src/Semi.Avalonia/Themes/Light/RefreshContainer.axaml @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/ScrollViewer.axaml b/src/Semi.Avalonia/Themes/Light/ScrollViewer.axaml index e4f881d..29ff2aa 100644 --- a/src/Semi.Avalonia/Themes/Light/ScrollViewer.axaml +++ b/src/Semi.Avalonia/Themes/Light/ScrollViewer.axaml @@ -1,7 +1,7 @@ - - - - + + + + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/Slider.axaml b/src/Semi.Avalonia/Themes/Light/Slider.axaml index bb1d311..f6bf1e0 100644 --- a/src/Semi.Avalonia/Themes/Light/Slider.axaml +++ b/src/Semi.Avalonia/Themes/Light/Slider.axaml @@ -1,13 +1,11 @@ - - - + + - - - - - + + + + diff --git a/src/Semi.Avalonia/Themes/Light/SplitView.axaml b/src/Semi.Avalonia/Themes/Light/SplitView.axaml index fc36c21..97e1cc4 100644 --- a/src/Semi.Avalonia/Themes/Light/SplitView.axaml +++ b/src/Semi.Avalonia/Themes/Light/SplitView.axaml @@ -1,5 +1,5 @@ - + - + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/TabItem.axaml b/src/Semi.Avalonia/Themes/Light/TabItem.axaml index 4e08d73..dc8da64 100644 --- a/src/Semi.Avalonia/Themes/Light/TabItem.axaml +++ b/src/Semi.Avalonia/Themes/Light/TabItem.axaml @@ -1,11 +1,10 @@ - - - - - - - + + + + + + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/TextBlock.axaml b/src/Semi.Avalonia/Themes/Light/TextBlock.axaml index 0cda42b..c117b05 100644 --- a/src/Semi.Avalonia/Themes/Light/TextBlock.axaml +++ b/src/Semi.Avalonia/Themes/Light/TextBlock.axaml @@ -1,17 +1,16 @@ - - - - - - - - - - - - - + + + + + + + + + + + + - + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/TextBox.axaml b/src/Semi.Avalonia/Themes/Light/TextBox.axaml index 08d6fa4..a4cd946 100644 --- a/src/Semi.Avalonia/Themes/Light/TextBox.axaml +++ b/src/Semi.Avalonia/Themes/Light/TextBox.axaml @@ -1,24 +1,20 @@ - - + - - + + - - - - - - - + + + + + + - - + - - + - + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/ToggleButton.axaml b/src/Semi.Avalonia/Themes/Light/ToggleButton.axaml index b2e2767..07ce7e9 100644 --- a/src/Semi.Avalonia/Themes/Light/ToggleButton.axaml +++ b/src/Semi.Avalonia/Themes/Light/ToggleButton.axaml @@ -1,88 +1,75 @@ - - - + + + - - - + + - - - - - - - - - + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/ToggleSwitch.axaml b/src/Semi.Avalonia/Themes/Light/ToggleSwitch.axaml index 3a00f8c..db3cd55 100644 --- a/src/Semi.Avalonia/Themes/Light/ToggleSwitch.axaml +++ b/src/Semi.Avalonia/Themes/Light/ToggleSwitch.axaml @@ -1,20 +1,15 @@ - - - - + + + - - - - - - - - - - - + + + + + + + 0 4 6 0 #1A000000, 0 0 1 0 #4D000000 \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/Tooltip.axaml b/src/Semi.Avalonia/Themes/Light/Tooltip.axaml index 4a81dce..0f2ef79 100644 --- a/src/Semi.Avalonia/Themes/Light/Tooltip.axaml +++ b/src/Semi.Avalonia/Themes/Light/Tooltip.axaml @@ -1,5 +1,5 @@ - - + + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/TreeView.axaml b/src/Semi.Avalonia/Themes/Light/TreeView.axaml index c4cc03c..c5e1e56 100644 --- a/src/Semi.Avalonia/Themes/Light/TreeView.axaml +++ b/src/Semi.Avalonia/Themes/Light/TreeView.axaml @@ -1,15 +1,14 @@ - - - - - + + + + - - - - - + + + + + - + \ No newline at end of file diff --git a/src/Semi.Avalonia/Themes/Light/Window.axaml b/src/Semi.Avalonia/Themes/Light/Window.axaml index b2e8f39..1f95612 100644 --- a/src/Semi.Avalonia/Themes/Light/Window.axaml +++ b/src/Semi.Avalonia/Themes/Light/Window.axaml @@ -1,4 +1,4 @@ - - + + \ No newline at end of file