<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:m="clr-namespace:ModernWpf.Markup"
    xmlns:sys="clr-namespace:System;assembly=mscorlib">

    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="Styles/Common.xaml" />
        <ResourceDictionary Source="Styles/AutoSuggestBox.xaml" />
        <ResourceDictionary Source="Styles/Calendar.xaml" />
        <ResourceDictionary Source="Styles/CheckBox.xaml" />
        <ResourceDictionary Source="Styles/ComboBox.xaml" />
        <ResourceDictionary Source="Styles/CommandBar.xaml" />
        <ResourceDictionary Source="Styles/ContextMenu.xaml" />
        <ResourceDictionary Source="Styles/DataGrid.xaml" />
        <ResourceDictionary Source="Styles/DatePicker.xaml" />
        <ResourceDictionary Source="Styles/Expander.xaml" />
        <ResourceDictionary Source="Styles/GridSplitter.xaml" />
        <ResourceDictionary Source="Styles/GroupBox.xaml" />
        <ResourceDictionary Source="Styles/GroupItem.xaml" />
        <ResourceDictionary Source="Styles/Hyperlink.xaml" />
        <ResourceDictionary Source="Styles/Label.xaml" />
        <ResourceDictionary Source="Styles/ListBox.xaml" />
        <ResourceDictionary Source="Styles/ListView.xaml" />
        <ResourceDictionary Source="Styles/Menu.xaml" />
        <ResourceDictionary Source="Styles/MenuItem.xaml" />
        <ResourceDictionary Source="Styles/NavigationBackButton.xaml" />
        <ResourceDictionary Source="Styles/NavigationView.xaml" />
        <ResourceDictionary Source="Styles/PasswordBox.xaml" />
        <ResourceDictionary Source="Styles/Pivot.xaml" />
        <ResourceDictionary Source="Styles/ProgressBar.xaml" />
        <ResourceDictionary Source="Styles/RadioButton.xaml" />
        <ResourceDictionary Source="Styles/RatingControl.xaml" />
        <ResourceDictionary Source="Styles/RepeatButton.xaml" />
        <ResourceDictionary Source="Styles/ResizeGrip.xaml" />
        <ResourceDictionary Source="Styles/RichTextBox.xaml" />
        <ResourceDictionary Source="Styles/ScrollBar.xaml" />
        <ResourceDictionary Source="Styles/ScrollViewer.xaml" />
        <ResourceDictionary Source="Styles/Slider.xaml" />
        <ResourceDictionary Source="Styles/StatusBar.xaml" />
        <ResourceDictionary Source="Styles/TabControl.xaml" />
        <ResourceDictionary Source="Styles/TimePicker.xaml" />
        <ResourceDictionary Source="Styles/ToggleButton.xaml" />
        <ResourceDictionary Source="Styles/TreeView.xaml" />
        <ResourceDictionary Source="Styles/Window.xaml" />
    </ResourceDictionary.MergedDictionaries>

    <m:StaticResource x:Key="ContentControlThemeFontFamily" ResourceKey="{x:Static SystemFonts.MessageFontFamilyKey}" />
    <m:StaticResource x:Key="PivotHeaderItemFontFamily" ResourceKey="{x:Static SystemFonts.MessageFontFamilyKey}" />
    <m:StaticResource x:Key="PivotTitleFontFamily" ResourceKey="{x:Static SystemFonts.MessageFontFamilyKey}" />
    <FontFamily x:Key="SymbolThemeFontFamily">Segoe MDL2 Assets</FontFamily>
    <sys:Double x:Key="ControlContentThemeFontSize">14</sys:Double>
    <sys:Double x:Key="ContentControlFontSize">14</sys:Double>
    <sys:Double x:Key="GridViewItemMinWidth">44</sys:Double>
    <sys:Double x:Key="GridViewItemMinHeight">44</sys:Double>
    <sys:Double x:Key="ListViewItemMinWidth">88</sys:Double>
    <sys:Double x:Key="ListViewItemMinHeight">40</sys:Double>
    <sys:Double x:Key="NumberBoxPopupHorizonalOffset">-20</sys:Double>
    <sys:Double x:Key="NumberBoxPopupVerticalOffset">-16</sys:Double>
    <sys:Double x:Key="NumberBoxPopupShadowDepth">16</sys:Double>

    <!--#region RadioButtons-->
    <sys:Double x:Key="RadioButtonsColumnSpacing">7</sys:Double>
    <sys:Double x:Key="RadioButtonsRowSpacing">8</sys:Double>

    <Thickness x:Key="RadioButtonsTopHeaderMargin">0,0,0,8</Thickness>
    <!--#endregion-->

    <sys:Double x:Key="TextControlThemeMinHeight">32</sys:Double>
    <Thickness x:Key="NumberBoxSpinButtonBorderThickness">0,1,1,1</Thickness>
    <Thickness x:Key="NumberBoxIconMargin">10,0,0,0</Thickness>
    <Thickness x:Key="TextControlThemePadding">10,5,6,6</Thickness>
    <Thickness x:Key="ToggleSwitchTopHeaderMargin">0,0,0,4</Thickness>
    <sys:Double x:Key="ToggleSwitchPreContentMargin">10</sys:Double>
    <sys:Double x:Key="ToggleSwitchPostContentMargin">10</sys:Double>
    <sys:Double x:Key="ToggleSwitchThemeMinWidth">154</sys:Double>

    <sys:Double x:Key="MenuFlyoutSeparatorHeight">1</sys:Double>
    <Thickness x:Key="MenuFlyoutPresenterThemePadding">0,2,0,2</Thickness>
    <sys:Double x:Key="MenuFlyoutThemeMinHeight">32</sys:Double>
    <Thickness x:Key="MenuFlyoutItemChevronMargin">24,0,0,0</Thickness>
    <Thickness x:Key="MenuFlyoutItemPlaceholderThemeThickness">28,0,0,0</Thickness>
    <Thickness x:Key="MenuFlyoutSeparatorThemePadding">-4,1,-4,1</Thickness>
    <Thickness x:Key="MenuFlyoutItemDoublePlaceholderThemeThickness">56,0,0,0</Thickness>
    <Thickness x:Key="MenuFlyoutItemMargin">4,2,4,2</Thickness>
    <Thickness x:Key="MenuFlyoutItemThemePadding">11,8,11,9</Thickness>
    <Thickness x:Key="MenuFlyoutItemThemePaddingNarrow">11,4,11,5</Thickness>

    <sys:Double x:Key="SplitViewOpenPaneThemeLength">320</sys:Double>
    <sys:Double x:Key="SplitViewCompactPaneThemeLength">48</sys:Double>
    <Thickness x:Key="SplitViewLeftBorderThemeThickness">0,0,1,0</Thickness>
    <Thickness x:Key="SplitViewRightBorderThemeThickness">1,0,0,0</Thickness>
    <CornerRadius x:Key="SplitViewPaneRootCornerRadius">0</CornerRadius>

    <ControlTemplate x:Key="TextControlValidationErrorTemplate">
        <Grid SnapsToDevicePixels="True">
            <AdornedElementPlaceholder />
            <Border
                BorderBrush="{DynamicResource SystemControlErrorTextForegroundBrush}"
                BorderThickness="{DynamicResource TextControlBorderThemeThicknessFocused}"
                CornerRadius="{DynamicResource ControlCornerRadius}" />
        </Grid>
    </ControlTemplate>

</ResourceDictionary>
