diff --git a/Bloxstrap/App.xaml b/Bloxstrap/App.xaml index ae4bfac..685eaad 100644 --- a/Bloxstrap/App.xaml +++ b/Bloxstrap/App.xaml @@ -11,6 +11,7 @@ + pack://application:,,,/Resources/Fonts/#Rubik Light diff --git a/Bloxstrap/UI/Elements/Settings/Pages/AppearancePage.xaml b/Bloxstrap/UI/Elements/Settings/Pages/AppearancePage.xaml index 8846e6e..402696d 100644 --- a/Bloxstrap/UI/Elements/Settings/Pages/AppearancePage.xaml +++ b/Bloxstrap/UI/Elements/Settings/Pages/AppearancePage.xaml @@ -43,17 +43,80 @@ - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Bloxstrap/UI/Style/Default.xaml b/Bloxstrap/UI/Style/Default.xaml new file mode 100644 index 0000000..b2a646a --- /dev/null +++ b/Bloxstrap/UI/Style/Default.xaml @@ -0,0 +1,154 @@ + + + + + \ No newline at end of file diff --git a/Bloxstrap/UI/ViewModels/Settings/AppearanceViewModel.cs b/Bloxstrap/UI/ViewModels/Settings/AppearanceViewModel.cs index 5f22c87..e8666d5 100644 --- a/Bloxstrap/UI/ViewModels/Settings/AppearanceViewModel.cs +++ b/Bloxstrap/UI/ViewModels/Settings/AppearanceViewModel.cs @@ -86,9 +86,15 @@ namespace Bloxstrap.UI.ViewModels.Settings public BootstrapperStyle Dialog { get => App.Settings.Prop.BootstrapperStyle; - set => App.Settings.Prop.BootstrapperStyle = value; + set + { + App.Settings.Prop.BootstrapperStyle = value; + OnPropertyChanged(nameof(CustomThemesExpanded)); // TODO: only fire when needed + } } + public bool CustomThemesExpanded => App.Settings.Prop.BootstrapperStyle == BootstrapperStyle.CustomDialog; + public ObservableCollection Icons { get; set; } = new(); public BootstrapperIcon Icon