<?xml version="1.0" encoding="UTF-8" ?>
<Application
    x:Class="TornadoAce_CJOnStyle.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:local="using:TornadoAce_CJOnStyle"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
                <!-- Other merged dictionaries here -->
            </ResourceDictionary.MergedDictionaries>
            <SolidColorBrush x:Key="AppBackgroundBrush" Color="#08070B" />
            <SolidColorBrush x:Key="AppChromeBrush" Color="#0E0B13" />
            <SolidColorBrush x:Key="PanelBrush" Color="#141019" />
            <SolidColorBrush x:Key="PanelAltBrush" Color="#1C1723" />
            <SolidColorBrush x:Key="PanelElevatedBrush" Color="#211B29" />
            <SolidColorBrush x:Key="PanelStrokeBrush" Color="#34293F" />
            <SolidColorBrush x:Key="PanelSoftStrokeBrush" Color="#241E2D" />
            <SolidColorBrush x:Key="TextPrimaryBrush" Color="#F8F5EE" />
            <SolidColorBrush x:Key="TextSecondaryBrush" Color="#D6D0C8" />
            <SolidColorBrush x:Key="TextMutedBrush" Color="#9B92A8" />
            <SolidColorBrush x:Key="AccentCyanBrush" Color="#5FD7D3" />
            <SolidColorBrush x:Key="AccentGreenBrush" Color="#C8FF17" />
            <SolidColorBrush x:Key="AccentAmberBrush" Color="#D9B76E" />
            <SolidColorBrush x:Key="AccentRedBrush" Color="#FF626E" />
            <SolidColorBrush x:Key="AccentVioletBrush" Color="#7B2CBF" />
            <SolidColorBrush x:Key="AccentRoseBrush" Color="#F04C8B" />
            <SolidColorBrush x:Key="LoginSurfaceBrush" Color="#DDE5E0D2" />
            <SolidColorBrush x:Key="LoginFieldBrush" Color="#EEEADF" />
            <SolidColorBrush x:Key="LoginTextBrush" Color="#211827" />
            <SolidColorBrush x:Key="LoginMutedBrush" Color="#766D7B" />

            <Style x:Key="PageTitleTextStyle" TargetType="TextBlock">
                <Setter Property="FontFamily" Value="Bahnschrift SemiBold" />
                <Setter Property="FontSize" Value="32" />
                <Setter Property="Foreground" Value="{StaticResource TextPrimaryBrush}" />
            </Style>

            <Style x:Key="SectionTitleTextStyle" TargetType="TextBlock">
                <Setter Property="FontFamily" Value="Bahnschrift SemiBold" />
                <Setter Property="FontSize" Value="18" />
                <Setter Property="Foreground" Value="{StaticResource TextPrimaryBrush}" />
            </Style>

            <Style x:Key="LabelTextStyle" TargetType="TextBlock">
                <Setter Property="FontFamily" Value="Bahnschrift" />
                <Setter Property="FontSize" Value="12" />
                <Setter Property="Foreground" Value="{StaticResource TextMutedBrush}" />
                <Setter Property="TextWrapping" Value="WrapWholeWords" />
            </Style>

            <Style x:Key="BodyTextStyle" TargetType="TextBlock">
                <Setter Property="FontFamily" Value="Bahnschrift" />
                <Setter Property="FontSize" Value="14" />
                <Setter Property="Foreground" Value="{StaticResource TextSecondaryBrush}" />
                <Setter Property="TextWrapping" Value="WrapWholeWords" />
            </Style>

            <Style x:Key="MonoTextStyle" TargetType="TextBlock">
                <Setter Property="FontFamily" Value="Cascadia Mono" />
                <Setter Property="Foreground" Value="{StaticResource TextPrimaryBrush}" />
            </Style>

            <Style x:Key="ActionButtonStyle" TargetType="Button">
                <Setter Property="MinHeight" Value="42" />
                <Setter Property="Padding" Value="15,8" />
                <Setter Property="CornerRadius" Value="7" />
                <Setter Property="FontFamily" Value="Bahnschrift SemiBold" />
                <Setter Property="BorderThickness" Value="1" />
                <Setter Property="UseSystemFocusVisuals" Value="True" />
                <Setter Property="FocusVisualPrimaryBrush" Value="{StaticResource AccentGreenBrush}" />
                <Setter Property="FocusVisualSecondaryBrush" Value="{StaticResource PanelStrokeBrush}" />
            </Style>

            <Style x:Key="PrimaryActionButtonStyle"
                   TargetType="Button"
                   BasedOn="{StaticResource ActionButtonStyle}">
                <Setter Property="Background" Value="{StaticResource AccentVioletBrush}" />
                <Setter Property="BorderBrush" Value="#77C8FF17" />
                <Setter Property="Foreground" Value="{StaticResource TextPrimaryBrush}" />
            </Style>

            <Style x:Key="GhostActionButtonStyle"
                   TargetType="Button"
                   BasedOn="{StaticResource ActionButtonStyle}">
                <Setter Property="Background" Value="{StaticResource PanelElevatedBrush}" />
                <Setter Property="BorderBrush" Value="{StaticResource PanelStrokeBrush}" />
                <Setter Property="Foreground" Value="{StaticResource TextPrimaryBrush}" />
            </Style>
        </ResourceDictionary>
    </Application.Resources>
</Application>
