<Application
    x:Class="ImageResizer.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:converters="using:ImageResizer.Converters"
    xmlns:local="using:ImageResizer"
    xmlns:tkconverters="using:CommunityToolkit.WinUI.Converters">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
            </ResourceDictionary.MergedDictionaries>

            <!--  Layout tokens  -->
            <x:Double x:Key="ButtonMinWidth">76</x:Double>
            <Thickness x:Key="PageSectionMargin">12,12,12,0</Thickness>

            <!--  Converters  -->
            <converters:AutoDoubleConverter x:Key="AutoDoubleConverter" />
            <tkconverters:BoolToVisibilityConverter
                x:Key="BoolToVisibilityConverter"
                FalseValue="Collapsed"
                TrueValue="Visible" />
            <converters:EnumToIntConverter x:Key="EnumToIntConverter" />
            <converters:EnumValueConverter x:Key="EnumValueConverter" />

            <tkconverters:BoolToVisibilityConverter
                x:Key="InvertedBoolToVisibilityConverter"
                FalseValue="Visible"
                TrueValue="Collapsed" />
        </ResourceDictionary>
    </Application.Resources>
</Application>
