diff --git a/BrightSharp.Ui.Tests/App.xaml b/BrightSharp.Ui.Tests/App.xaml index 9b82342..ae7600d 100644 --- a/BrightSharp.Ui.Tests/App.xaml +++ b/BrightSharp.Ui.Tests/App.xaml @@ -5,7 +5,7 @@ - + diff --git a/BrightSharp.Ui.Tests/MainWindow.xaml.cs b/BrightSharp.Ui.Tests/MainWindow.xaml.cs index 8055a41..9b61e86 100644 --- a/BrightSharp.Ui.Tests/MainWindow.xaml.cs +++ b/BrightSharp.Ui.Tests/MainWindow.xaml.cs @@ -1,4 +1,5 @@ using BrightSharp.Diagrams; +using BrightSharp.Themes; using System; using System.Text.RegularExpressions; using System.Windows; diff --git a/BrightSharp/BrightSharp.csproj b/BrightSharp/BrightSharp.csproj index 9d17933..57fc3f9 100644 --- a/BrightSharp/BrightSharp.csproj +++ b/BrightSharp/BrightSharp.csproj @@ -55,6 +55,7 @@ + @@ -67,45 +68,57 @@ - - + + Code - + + Designer + MSBuild:Compile + + + Designer + MSBuild:Compile + + Designer MSBuild:Compile - - + + MSBuild:Compile Designer - + MSBuild:Compile Designer - + MSBuild:Compile Designer - + MSBuild:Compile Designer - + MSBuild:Compile Designer - + MSBuild:Compile Designer - + MSBuild:Compile Designer + + Designer + MSBuild:Compile + @@ -132,14 +145,15 @@ - + - - - - + + + + + @@ -1637,7 +1637,7 @@ - + - + - + - diff --git a/BrightSharp/ThemeManager.cs b/BrightSharp/Themes/ThemeManager.cs similarity index 91% rename from BrightSharp/ThemeManager.cs rename to BrightSharp/Themes/ThemeManager.cs index a562786..9f077fb 100644 --- a/BrightSharp/ThemeManager.cs +++ b/BrightSharp/Themes/ThemeManager.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Text.RegularExpressions; using System.Windows; -namespace BrightSharp +namespace BrightSharp.Themes { public enum ColorThemes { @@ -38,7 +38,7 @@ namespace BrightSharp return; Resources.Add(new ResourceDictionary() { - Source = new Uri($"/brightsharp;component/style.{value}.xaml", UriKind.RelativeOrAbsolute) + Source = new Uri($"/brightsharp;component/themes/style.{value}.xaml", UriKind.RelativeOrAbsolute) }); } } diff --git a/BrightSharp/icons/app.png b/BrightSharp/Themes/icons/app.png similarity index 100% rename from BrightSharp/icons/app.png rename to BrightSharp/Themes/icons/app.png diff --git a/BrightSharp/icons/copy.png b/BrightSharp/Themes/icons/copy.png similarity index 100% rename from BrightSharp/icons/copy.png rename to BrightSharp/Themes/icons/copy.png diff --git a/BrightSharp/icons/cut.png b/BrightSharp/Themes/icons/cut.png similarity index 100% rename from BrightSharp/icons/cut.png rename to BrightSharp/Themes/icons/cut.png diff --git a/BrightSharp/icons/paste.png b/BrightSharp/Themes/icons/paste.png similarity index 100% rename from BrightSharp/icons/paste.png rename to BrightSharp/Themes/icons/paste.png diff --git a/BrightSharp/icons/undo.png b/BrightSharp/Themes/icons/undo.png similarity index 100% rename from BrightSharp/icons/undo.png rename to BrightSharp/Themes/icons/undo.png