<Styles
    xmlns="https://github.com/avaloniaui"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:system="clr-namespace:System;assembly=System.Runtime">

    <Style>
        <Style.Resources>

        <!-- Base Colors -->
            <Color x:Key="NightBlack">#3A2F34</Color>        
            <Color x:Key="OffBlack">#4A3A41</Color>          
            <Color x:Key="DarkestGray">#2F2428</Color>       
            <Color x:Key="DarkGray">#5A454D</Color>          
            <Color x:Key="OffGray">#5F4850</Color>           
            <Color x:Key="PerfectGray">#8A717B</Color>       
            <Color x:Key="White">#F6EDF1</Color>             

 
            <!-- Accent / UI Colors -->
            <Color x:Key="NeonMint">#D8A8BC</Color>
            <Color x:Key="CalmBlue">#E2A3BE</Color>          
            <Color x:Key="NeonRed">#E08AA2</Color>
            <Color x:Key="NeonYellow">#E8C6B8</Color>
            <Color x:Key="GrayBlue">#E6B4C8</Color>
            <Color x:Key="DarkPurple">#4A343C</Color>

            <!-- Avalonia brushes -->
            <SolidColorBrush x:Key="ThemeBackgroundBrush"
                             Color="{DynamicResource NightBlack}" />
            <SolidColorBrush x:Key="ThemeForegroundBrush"
                             Color="{DynamicResource White}" />

            <!-- Selection behavior preserved -->
            <SolidColorBrush x:Key="HighlightBrush"
                             Color="{DynamicResource OffBlack}" />
            <SolidColorBrush x:Key="HighlightForegroundBrush"
                             Color="{DynamicResource CalmBlue}" />

            <SolidColorBrush x:Key="ThemeControlMidBrush"
                             Color="{DynamicResource PerfectGray}" />
            <SolidColorBrush x:Key="ThemeControlMidHighBrush"
                             Color="{DynamicResource White}"
                             Opacity="0.25" />
            <SolidColorBrush x:Key="ThemeForegroundHighBrush"
                             Color="{DynamicResource White}" />
            <SolidColorBrush x:Key="ThemeControlHighBrush"
                             Color="{DynamicResource White}"
                             Opacity="0.65" />
            <SolidColorBrush x:Key="ThemeControlVeryHighBrush"
                             Color="{DynamicResource White}"
                             Opacity="0.75" />
            <SolidColorBrush x:Key="ThemeAccentBrush"
                             Color="{DynamicResource White}"
                             Opacity="0.2" />
            <SolidColorBrush x:Key="ThemeForegroundLowBrush"
                             Color="{DynamicResource White}"
                             Opacity="0.35" />

            <!-- DataGrid -->
            <SolidColorBrush x:Key="DataGridHeaderBrush"
                             Color="{DynamicResource DarkGray}" />
            <SolidColorBrush x:Key="DataGridRowBackground"
                             Color="{DynamicResource OffBlack}" />
            <SolidColorBrush x:Key="AlternativeDataGridRowBackground"
                             Color="{DynamicResource OffGray}" />
            <SolidColorBrush x:Key="DataGridRowForeground"
                             Color="{DynamicResource White}" />

            <!-- ComboBox -->
            <SolidColorBrush x:Key="ComboBoxItemBackgroundBrush"
                             Color="{DynamicResource DarkGray}" />
            <SolidColorBrush x:Key="ComboBoxItemSelectedBackgroundBrush"
                             Color="{DynamicResource GrayBlue}" />

            <!-- Status -->
            <SolidColorBrush x:Key="UpdateAvailableBrush"
                             Color="{DynamicResource NeonMint}" />
            <SolidColorBrush x:Key="UpdateBrokenBrush"
                             Color="{DynamicResource NeonRed}" />
            <SolidColorBrush x:Key="UpdateUnofficialBrush"
                             Color="{DynamicResource NeonYellow}" />

        </Style.Resources>
    </Style>

</Styles>