<Application x:Class="FModel.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:adonisUi="clr-namespace:AdonisUI;assembly=AdonisUI"
             StartupUri="MainWindow.xaml" ShutdownMode="OnMainWindowClose"
             Exit="AppExit" DispatcherUnhandledException="OnUnhandledException">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary>
                    <BooleanToVisibilityConverter x:Key="BoolToVisibilityConverter" />
                </ResourceDictionary>

                <ResourceDictionary Source="pack://application:,,,/AdonisUI;component/ColorSchemes/Dark.xaml"/>
                <ResourceDictionary Source="pack://application:,,,/AdonisUI.ClassicTheme;component/Resources.xaml"/>

                <ResourceDictionary Source="Views/Resources/Colors.xaml" />
                <ResourceDictionary Source="Views/Resources/Icons.xaml" />
                <ResourceDictionary Source="Views/Resources/Controls/ContextMenus/FileContextMenu.xaml" />
                <ResourceDictionary Source="Views/Resources/Controls/ContextMenus/FolderContextMenu.xaml" />

                <ResourceDictionary Source="Views/Resources/Resources.xaml" />
                <ResourceDictionary Source="Views/Resources/Controls/Explorer/Resources.xaml" />
            </ResourceDictionary.MergedDictionaries>

            <Color x:Key="{x:Static adonisUi:Colors.AccentColor}">#206BD4</Color>
            <Color x:Key="{x:Static adonisUi:Colors.AlertColor}">#D49220</Color>
            <Color x:Key="{x:Static adonisUi:Colors.ErrorColor}">#C22B2B</Color>
        </ResourceDictionary>
    </Application.Resources>
</Application>
