mirror of
https://github.com/SpaceTimee/Sheas-Cealer.git
synced 2025-07-13 04:42:09 +08:00
28 lines
1.6 KiB
XML
28 lines
1.6 KiB
XML
<Application x:Class="Sheas_Cealer.App"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
Startup="App_OnStartup" DispatcherUnhandledException="App_DispatcherUnhandledException">
|
|
<Application.Resources>
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<materialDesign:BundledTheme BaseTheme="Inherit" PrimaryColor="Red" SecondaryColor="Orange" />
|
|
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesign3.Defaults.xaml" />
|
|
</ResourceDictionary.MergedDictionaries>
|
|
|
|
<Style x:Key="CommonWindow" TargetType="{x:Type Window}">
|
|
<Setter Property="AutomationProperties.Name" Value="Sheas Cealer" />
|
|
<Setter Property="Background" Value="{DynamicResource MaterialDesignPaper}" />
|
|
<Setter Property="Foreground" Value="{DynamicResource MaterialDesignBody}" />
|
|
</Style>
|
|
|
|
<Style BasedOn="{StaticResource MaterialDesignFilledTextBox}" TargetType="{x:Type TextBox}" />
|
|
|
|
<Style BasedOn="{StaticResource MaterialDesignRaisedButton}" TargetType="{x:Type Button}">
|
|
<Setter Property="Height" Value="Auto" />
|
|
<Setter Property="Width" Value="Auto" />
|
|
<Setter Property="Foreground" Value="{DynamicResource MaterialDesignBackground}" />
|
|
</Style>
|
|
</ResourceDictionary>
|
|
</Application.Resources>
|
|
</Application> |