<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:options="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"
    mc:Ignorable="options">

    <Color x:Key="BlackColor">#FFFFFFFF</Color>
    <Color x:Key="WhiteColor">#FF252525</Color>

    <Color x:Key="Gray1">#FFF9F9F9</Color>
    <Color x:Key="Gray2">#FF7F7F7F</Color>
    <Color x:Key="Gray3">#FF9D9D9D</Color>
    <Color x:Key="Gray4">#FFA59F93</Color>
    <Color x:Key="Gray5">#FFB9B9B9</Color>
    <Color x:Key="Gray6">#FFCCCCCC</Color>
    <Color x:Key="Gray7">#FF7E7E7E</Color>
    <Color x:Key="Gray8">#FF454545</Color>
    <Color x:Key="Gray9">#5EC9C9C9</Color>
    <Color x:Key="Gray10">#FF2F2F2F</Color>

    <Color x:Key="GrayNormal">#FF7D7D7D</Color>
    <Color x:Key="GrayHover">#FFAAAAAA</Color>

    <Color x:Key="FlyoutColor">#FF2B2B2B</Color>

    <!--  re-set brushes too  -->
    <SolidColorBrush
        x:Key="BlackBrush"
        options:Freeze="True"
        Color="{StaticResource BlackColor}" />
    <SolidColorBrush
        x:Key="TextBrush"
        options:Freeze="True"
        Color="{StaticResource BlackColor}" />
    <SolidColorBrush
        x:Key="LabelTextBrush"
        options:Freeze="True"
        Color="{StaticResource BlackColor}" />
    <SolidColorBrush
        x:Key="BlackColorBrush"
        options:Freeze="True"
        Color="{StaticResource BlackColor}" />
    <SolidColorBrush
        x:Key="TextBoxMouseOverInnerBorderBrush"
        options:Freeze="True"
        Color="{StaticResource BlackColor}" />
    <SolidColorBrush
        x:Key="TextBoxFocusBorderBrush"
        options:Freeze="True"
        Color="{StaticResource BlackColor}" />
    <SolidColorBrush
        x:Key="ButtonMouseOverBorderBrush"
        options:Freeze="True"
        Color="{StaticResource BlackColor}" />
    <SolidColorBrush
        x:Key="ButtonMouseOverInnerBorderBrush"
        options:Freeze="True"
        Color="{StaticResource BlackColor}" />
    <SolidColorBrush
        x:Key="ComboBoxMouseOverBorderBrush"
        options:Freeze="True"
        Color="{StaticResource BlackColor}" />
    <SolidColorBrush
        x:Key="ComboBoxMouseOverInnerBorderBrush"
        options:Freeze="True"
        Color="{StaticResource BlackColor}" />

    <SolidColorBrush
        x:Key="ControlBackgroundBrush"
        options:Freeze="True"
        Color="{StaticResource WhiteColor}" />
    <SolidColorBrush
        x:Key="WhiteBrush"
        options:Freeze="True"
        Color="{StaticResource WhiteColor}" />
    <SolidColorBrush
        x:Key="WhiteColorBrush"
        options:Freeze="True"
        Color="{StaticResource WhiteColor}" />
    <SolidColorBrush
        x:Key="DisabledWhiteBrush"
        options:Freeze="True"
        Color="{StaticResource WhiteColor}" />
    <SolidColorBrush
        x:Key="WindowBackgroundBrush"
        options:Freeze="True"
        Color="{StaticResource WhiteColor}" />

    <SolidColorBrush
        x:Key="{x:Static SystemColors.WindowBrushKey}"
        options:Freeze="True"
        Color="{StaticResource WhiteColor}" />
    <SolidColorBrush
        x:Key="{x:Static SystemColors.ControlTextBrushKey}"
        options:Freeze="True"
        Color="{StaticResource BlackColor}" />

    <SolidColorBrush
        x:Key="GrayBrush1"
        options:Freeze="True"
        Color="{StaticResource Gray1}" />
    <SolidColorBrush
        x:Key="GrayBrush2"
        options:Freeze="True"
        Color="{StaticResource Gray2}" />
    <SolidColorBrush
        x:Key="GrayBrush7"
        options:Freeze="True"
        Color="{StaticResource Gray7}" />
    <SolidColorBrush
        x:Key="GrayBrush8"
        options:Freeze="True"
        Color="{StaticResource Gray8}" />
    <SolidColorBrush
        x:Key="GrayBrush10"
        options:Freeze="True"
        Color="{StaticResource Gray10}" />

    <SolidColorBrush
        x:Key="GrayNormalBrush"
        options:Freeze="True"
        Color="{StaticResource GrayNormal}" />
    <SolidColorBrush
        x:Key="GrayHoverBrush"
        options:Freeze="True"
        Color="{StaticResource GrayHover}" />

    <SolidColorBrush
        x:Key="SliderValueDisabled"
        options:Freeze="True"
        Color="#FF535353" />
    <SolidColorBrush
        x:Key="SliderTrackDisabled"
        options:Freeze="True"
        Color="#FF383838" />
    <SolidColorBrush
        x:Key="SliderThumbDisabled"
        options:Freeze="True"
        Color="#FF7E7E7E" />
    <SolidColorBrush
        x:Key="SliderTrackHover"
        options:Freeze="True"
        Color="#FF737373" />
    <SolidColorBrush
        x:Key="SliderTrackNormal"
        options:Freeze="True"
        Color="#FF6C6C6C" />

    <SolidColorBrush
        x:Key="FlyoutBackgroundBrush"
        options:Freeze="True"
        Color="{StaticResource FlyoutColor}" />
    <SolidColorBrush
        x:Key="FlyoutForegroundBrush"
        options:Freeze="True"
        Color="{StaticResource BlackColor}" />

    <SolidColorBrush
        x:Key="FlatButtonPressedBackgroundBrush"
        options:Freeze="True"
        Color="#444444" />

    <!--  menu brushes  -->
    <SolidColorBrush
        x:Key="MenuBackgroundBrush"
        options:Freeze="True"
        Color="{StaticResource WhiteColor}" />
    <SolidColorBrush
        x:Key="ContextMenuBackgroundBrush"
        options:Freeze="True"
        Color="{StaticResource WhiteColor}" />
    <SolidColorBrush
        x:Key="SubMenuBackgroundBrush"
        options:Freeze="True"
        Color="{StaticResource WhiteColor}" />
    <SolidColorBrush
        x:Key="MenuItemBackgroundBrush"
        options:Freeze="True"
        Color="{StaticResource WhiteColor}" />

    <SolidColorBrush
        x:Key="ContextMenuBorderBrush"
        options:Freeze="True"
        Color="{StaticResource BlackColor}" />
    <SolidColorBrush
        x:Key="SubMenuBorderBrush"
        options:Freeze="True"
        Color="{StaticResource BlackColor}" />

    <SolidColorBrush
        x:Key="MenuItemSelectionFill"
        options:Freeze="True"
        Color="#313131" />
    <SolidColorBrush
        x:Key="MenuItemSelectionStroke"
        options:Freeze="True"
        Color="#313131" />

    <SolidColorBrush
        x:Key="TopMenuItemPressedFill"
        options:Freeze="True"
        Color="#313131" />
    <SolidColorBrush
        x:Key="TopMenuItemPressedStroke"
        options:Freeze="True"
        Color="#E0717070" />
    <SolidColorBrush
        x:Key="TopMenuItemSelectionStroke"
        options:Freeze="True"
        Color="#90717070" />

    <!--  original #FF9A9A9A"  -->
    <SolidColorBrush
        x:Key="DisabledMenuItemForeground"
        options:Freeze="True"
        Color="{StaticResource Gray7}" />
    <SolidColorBrush
        x:Key="DisabledMenuItemGlyphPanel"
        options:Freeze="True"
        Color="#848589" />

    <SolidColorBrush
        x:Key="{x:Static SystemColors.MenuTextBrushKey}"
        options:Freeze="True"
        Color="{StaticResource BlackColor}" />

    <Color x:Key="MenuShadowColor">#FFFFFFFF</Color>

    <!--  DataGrid brushes  -->

    <SolidColorBrush
        x:Key="MetroDataGrid.DisabledHighlightBrush"
        options:Freeze="True"
        Color="{StaticResource Gray7}" />

    <SolidColorBrush
        x:Key="MahApps.Metro.Brushes.ToggleSwitchButton.PressedBrush.Win10"
        options:Freeze="True"
        Color="#FF999999" />
    <SolidColorBrush
        x:Key="MahApps.Metro.Brushes.ToggleSwitchButton.OffBorderBrush.Win10"
        options:Freeze="True"
        Color="#FFCCCCCC" />
    <SolidColorBrush
        x:Key="MahApps.Metro.Brushes.ToggleSwitchButton.OffMouseOverBorderBrush.Win10"
        options:Freeze="True"
        Color="#FFFFFFFF" />
    <SolidColorBrush
        x:Key="MahApps.Metro.Brushes.ToggleSwitchButton.OffDisabledBorderBrush.Win10"
        options:Freeze="True"
        Color="#FF666666" />
    <SolidColorBrush
        x:Key="MahApps.Metro.Brushes.ToggleSwitchButton.OnSwitchDisabledBrush.Win10"
        options:Freeze="True"
        Color="#FF444444" />
    <SolidColorBrush
        x:Key="MahApps.Metro.Brushes.ToggleSwitchButton.ThumbIndicatorBrush.Win10"
        options:Freeze="True"
        Color="#FFCCCCCC" />
    <SolidColorBrush
        x:Key="MahApps.Metro.Brushes.ToggleSwitchButton.ThumbIndicatorMouseOverBrush.Win10"
        options:Freeze="True"
        Color="#FFFFFFFF" />
    <SolidColorBrush
        x:Key="MahApps.Metro.Brushes.ToggleSwitchButton.ThumbIndicatorPressedBrush.Win10"
        options:Freeze="True"
        Color="#FFFFFFFF" />
    <SolidColorBrush
        x:Key="MahApps.Metro.Brushes.ToggleSwitchButton.ThumbIndicatorDisabledBrush.Win10"
        options:Freeze="True"
        Color="#FF666666" />

    <SolidColorBrush
        x:Key="MahApps.Metro.Brushes.Badged.DisabledBackgroundBrush"
        options:Freeze="True"
        Color="#FF666666" />

</ResourceDictionary>