<?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="#0A0D12" />
            <SolidColorBrush x:Key="AppChromeBrush" Color="#111827" />
            <SolidColorBrush x:Key="PanelBrush" Color="#151A22" />
            <SolidColorBrush x:Key="PanelAltBrush" Color="#1E2631" />
            <SolidColorBrush x:Key="PanelStrokeBrush" Color="#303946" />
            <SolidColorBrush x:Key="TextPrimaryBrush" Color="#F6F8FB" />
            <SolidColorBrush x:Key="TextSecondaryBrush" Color="#C2CAD6" />
            <SolidColorBrush x:Key="TextMutedBrush" Color="#8290A3" />
            <SolidColorBrush x:Key="AccentCyanBrush" Color="#45D6D1" />
            <SolidColorBrush x:Key="AccentGreenBrush" Color="#37D67A" />
            <SolidColorBrush x:Key="AccentAmberBrush" Color="#FFB547" />
            <SolidColorBrush x:Key="AccentRedBrush" Color="#FF5B61" />
            <SolidColorBrush x:Key="AccentVioletBrush" Color="#B48CFF" />

            <Style x:Key="PageTitleTextStyle" TargetType="TextBlock">
                <Setter Property="FontFamily" Value="Bahnschrift SemiBold" />
                <Setter Property="FontSize" Value="30" />
                <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="Padding" Value="12,8" />
                <Setter Property="CornerRadius" Value="8" />
                <Setter Property="FontFamily" Value="Bahnschrift SemiBold" />
            </Style>

            <Style x:Key="PrimaryActionButtonStyle"
                   TargetType="Button"
                   BasedOn="{StaticResource ActionButtonStyle}">
                <Setter Property="Background" Value="{StaticResource AccentCyanBrush}" />
                <Setter Property="Foreground" Value="#051012" />
            </Style>

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