diff --git a/src/Resources.props b/src/Resources.props index 1205f7e4..ac35ddcb 100644 --- a/src/Resources.props +++ b/src/Resources.props @@ -39,8 +39,8 @@ Resources\Images\AMap\Car2.png - - Resources\Images\AnimationNavigationBar3D\background.png + + Resources\Images\NavMenu3D\background.png Resources\Images\Breathe\%(Filename)%(Extension) diff --git a/src/TargetFrameworks.props b/src/TargetFrameworks.props index 797279f4..ea6ba3f9 100644 --- a/src/TargetFrameworks.props +++ b/src/TargetFrameworks.props @@ -16,11 +16,17 @@ 7.0.0 + + 7.0.0 + 7.0.0 + + 7.0.0 + @@ -36,5 +42,8 @@ 7.0.0 + + 7.0.0 + \ No newline at end of file diff --git a/src/WPFDevelopers.Net40/Themes/Generic.xaml b/src/WPFDevelopers.Net40/Themes/Generic.xaml index 7042df93..0267af1a 100644 --- a/src/WPFDevelopers.Net40/Themes/Generic.xaml +++ b/src/WPFDevelopers.Net40/Themes/Generic.xaml @@ -8,18 +8,17 @@ xmlns:wd="clr-namespace:WPFDevelopers.Net40"> - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - + @@ -697,7 +637,7 @@ - - - - - - - - - - - - - - - - - - - - @@ -4934,14 +4972,14 @@ @@ -6090,11 +6152,11 @@ + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - + @@ -697,7 +636,7 @@ - - - - - - - - - - - - - - - - - - - - @@ -4935,14 +4953,14 @@ @@ -6091,11 +6130,11 @@ + diff --git a/src/WPFDevelopers.Samples.Shared/Controls/ChatEmoji/ChatEmoji.cs b/src/WPFDevelopers.Samples.Shared/Controls/ChatEmoji/ChatEmoji.cs index a1363adb..7851627a 100644 --- a/src/WPFDevelopers.Samples.Shared/Controls/ChatEmoji/ChatEmoji.cs +++ b/src/WPFDevelopers.Samples.Shared/Controls/ChatEmoji/ChatEmoji.cs @@ -1,7 +1,7 @@ using System.Windows; using System.Windows.Controls; using System.Windows.Media; -using WPFDevelopers.Helpers; +using WPFDevelopers.Core; namespace WPFDevelopers.Samples.Controls { @@ -124,7 +124,7 @@ private void UpdateIsRight() { //m_textBlock.Foreground = Brushes.White; leftWrapPanel.Visibility = Visibility.Visible; - border.Background = ControlsHelper.Brush; + border.Background = ThemeManager.Instance.BackgroundBrush; rightWrapPanel.Visibility = Visibility.Collapsed; } } diff --git a/src/WPFDevelopers.Samples.Shared/Controls/ChatEmoji/ChatEmoji.xaml b/src/WPFDevelopers.Samples.Shared/Controls/ChatEmoji/ChatEmoji.xaml index 773bb073..d955b222 100644 --- a/src/WPFDevelopers.Samples.Shared/Controls/ChatEmoji/ChatEmoji.xaml +++ b/src/WPFDevelopers.Samples.Shared/Controls/ChatEmoji/ChatEmoji.xaml @@ -42,7 +42,7 @@ Margin="0,20,-14,0" VerticalAlignment="Top" Data="{StaticResource WD.ChatLeftGeometry}" - Fill="{DynamicResource WD.BackgroundSolidColorBrush}" + Fill="{DynamicResource WD.BackgroundBrush}" SnapsToDevicePixels="True" Stretch="Fill" StrokeThickness="0" diff --git a/src/WPFDevelopers.Samples.Shared/Controls/CodeViewer/CodeViewer.cs b/src/WPFDevelopers.Samples.Shared/Controls/CodeViewer/CodeViewer.cs index 2bf4a1af..381698d5 100644 --- a/src/WPFDevelopers.Samples.Shared/Controls/CodeViewer/CodeViewer.cs +++ b/src/WPFDevelopers.Samples.Shared/Controls/CodeViewer/CodeViewer.cs @@ -41,7 +41,7 @@ TabItem CreateTabItem(SourceCodeModel codeModel) var partTextEditor = new TextEditor(); partTextEditor.Options = new TextEditorOptions { ConvertTabsToSpaces = true }; partTextEditor.TextArea.SelectionCornerRadius = 0; - partTextEditor.SetResourceReference(TextArea.SelectionBrushProperty, "WD.WindowBorderBrushSolidColorBrush"); + partTextEditor.SetResourceReference(TextArea.SelectionBrushProperty, "WD.WindowBorderBrush"); partTextEditor.TextArea.SelectionBorder = null; partTextEditor.TextArea.SelectionForeground = null; partTextEditor.IsReadOnly = true; diff --git a/src/WPFDevelopers.Samples.Shared/Controls/CodeViewer/CodeViewer.xaml b/src/WPFDevelopers.Samples.Shared/Controls/CodeViewer/CodeViewer.xaml index 729ecf28..b7806822 100644 --- a/src/WPFDevelopers.Samples.Shared/Controls/CodeViewer/CodeViewer.xaml +++ b/src/WPFDevelopers.Samples.Shared/Controls/CodeViewer/CodeViewer.xaml @@ -3,7 +3,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:controls="clr-namespace:WPFDevelopers.Samples.Controls"> + + + + diff --git a/src/WPFDevelopers.Samples.Shared/ExampleViews/ChartBarExample.xaml b/src/WPFDevelopers.Samples.Shared/ExampleViews/ChartBarExample.xaml index 20485c13..c58dc1c5 100644 --- a/src/WPFDevelopers.Samples.Shared/ExampleViews/ChartBarExample.xaml +++ b/src/WPFDevelopers.Samples.Shared/ExampleViews/ChartBarExample.xaml @@ -11,11 +11,11 @@ d:DesignWidth="800" mc:Ignorable="d"> - + + Background="{DynamicResource WD.BackgroundBrush}"> diff --git a/src/WPFDevelopers.Samples.Shared/ExampleViews/ChartLineExample.xaml b/src/WPFDevelopers.Samples.Shared/ExampleViews/ChartLineExample.xaml index 26a69c63..2fcc89e6 100644 --- a/src/WPFDevelopers.Samples.Shared/ExampleViews/ChartLineExample.xaml +++ b/src/WPFDevelopers.Samples.Shared/ExampleViews/ChartLineExample.xaml @@ -11,7 +11,7 @@ d:DesignWidth="800" mc:Ignorable="d"> - + @@ -20,7 +20,7 @@ + Background="{DynamicResource WD.BackgroundBrush}"> diff --git a/src/WPFDevelopers.Samples.Shared/ExampleViews/ChartPieExample.xaml b/src/WPFDevelopers.Samples.Shared/ExampleViews/ChartPieExample.xaml index 0fc4bf16..00066e9d 100644 --- a/src/WPFDevelopers.Samples.Shared/ExampleViews/ChartPieExample.xaml +++ b/src/WPFDevelopers.Samples.Shared/ExampleViews/ChartPieExample.xaml @@ -11,7 +11,7 @@ d:DesignWidth="800" mc:Ignorable="d"> - + @@ -20,7 +20,7 @@ + Background="{DynamicResource WD.BackgroundBrush}"> diff --git a/src/WPFDevelopers.Samples.Shared/ExampleViews/ChartRadarExample.xaml b/src/WPFDevelopers.Samples.Shared/ExampleViews/ChartRadarExample.xaml index 705ce488..621e7b85 100644 --- a/src/WPFDevelopers.Samples.Shared/ExampleViews/ChartRadarExample.xaml +++ b/src/WPFDevelopers.Samples.Shared/ExampleViews/ChartRadarExample.xaml @@ -14,7 +14,7 @@ + Background="{DynamicResource WD.BackgroundBrush}"> diff --git a/src/WPFDevelopers.Samples.Shared/ExampleViews/ChatEmojiExample.xaml b/src/WPFDevelopers.Samples.Shared/ExampleViews/ChatEmojiExample.xaml index 45552b88..2846f9a5 100644 --- a/src/WPFDevelopers.Samples.Shared/ExampleViews/ChatEmojiExample.xaml +++ b/src/WPFDevelopers.Samples.Shared/ExampleViews/ChatEmojiExample.xaml @@ -12,7 +12,7 @@ mc:Ignorable="d"> - + @@ -42,7 +42,7 @@ - + @@ -128,7 +128,7 @@ + - - + + - - + + - - + + - + - -