<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes">

    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Light.xaml" />
        <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesign3.Defaults.xaml" />
    </ResourceDictionary.MergedDictionaries>

    <Style x:Key="CmdBtn" TargetType="Button" BasedOn="{StaticResource MaterialDesignRaisedButton}">
        <Setter Property="Height"   Value="32"/>
        <Setter Property="Padding"  Value="12,0"/>
        <Setter Property="FontSize" Value="12"/>
        <Setter Property="Margin"   Value="4,0"/>
    </Style>

    <Style x:Key="WarnBtn" TargetType="Button" BasedOn="{StaticResource MaterialDesignRaisedButton}">
        <Setter Property="Height"     Value="32"/>
        <Setter Property="Padding"    Value="12,0"/>
        <Setter Property="FontSize"   Value="12"/>
        <Setter Property="Margin"      Value="4,0"/>
        <Setter Property="Background" Value="#EF6C00"/>
        <Setter Property="Foreground" Value="White"/>
    </Style>

    <Style x:Key="NumInput" TargetType="TextBox" BasedOn="{StaticResource MaterialDesignOutlinedTextBox}">
        <Setter Property="Width"  Value="100"/>
        <Setter Property="Height" Value="32"/>
        <Setter Property="Padding" Value="5,0"/>
        <Setter Property="materialDesign:TextFieldAssist.TextBoxViewMargin" Value="6,2,6,2"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <Setter Property="FontSize" Value="12"/>
        <Setter Property="Margin"   Value="4,0"/>
        <Setter Property="materialDesign:HintAssist.IsFloating" Value="False"/>
        <Setter Property="materialDesign:HintAssist.Hint" Value=""/>

        <Setter Property="AutomationProperties.Name" Value=""/>
    </Style>

    <Style x:Key="MeasureBox" TargetType="TextBox" BasedOn="{StaticResource MaterialDesignOutlinedTextBox}">
        <Setter Property="Width"      Value="110"/>
        <Setter Property="Height"     Value="32"/>
        <Setter Property="Padding"    Value="5,0"/>
        <Setter Property="materialDesign:TextFieldAssist.TextBoxViewMargin" Value="6,2,6,2"/>
        <Setter Property="IsReadOnly" Value="True"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <Setter Property="FontSize"   Value="12"/>
        <Setter Property="Margin"      Value="4,0"/>
        <Setter Property="Background" Value="#F5F5F5"/>
        <Setter Property="materialDesign:HintAssist.IsFloating" Value="False"/>
        <Setter Property="materialDesign:HintAssist.Hint" Value=""/>

        <Setter Property="AutomationProperties.Name" Value=""/>
    </Style>

    <Style x:Key="ParamLabel" TargetType="TextBlock">
        <Setter Property="Width"             Value="80"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="FontSize"          Value="12"/>
        <Setter Property="Margin"            Value="0,0,4,0"/>
    </Style>

</ResourceDictionary>