-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.xaml
24 lines (24 loc) · 1.12 KB
/
App.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<Application x:Class="JustEng.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:JustEng"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:vm="clr-namespace:JustEng.ViewModels"
StartupUri="Views\Windows\MainWindow.xaml">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<materialDesign:BundledTheme BaseTheme="Dark" PrimaryColor="Purple" SecondaryColor="Lime" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" />
</ResourceDictionary.MergedDictionaries>
<Style TargetType="Button" x:Key="RoundButton" BasedOn="{StaticResource MaterialDesignPaperButton}">
<Style.Resources>
<Style TargetType="Border">
<Setter Property="CornerRadius" Value="15" />
</Style>
</Style.Resources>
</Style>
<vm:ViewModelLocator x:Key="Locator"/>
</ResourceDictionary>
</Application.Resources>
</Application>