<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:b="http://schemas.microsoft.com/xaml/behaviors"
    xmlns:noesis="clr-namespace:NoesisGUIExtensions;assembly=Noesis.GUI.Extensions" xmlns:converters="clr-namespace:TestGUI">
    
    <!-- converters -->
    <converters:UppercaseConverter x:Key="UppercaseConverter"/>

    <!--Brushes-->
    <SolidColorBrush x:Key="Brush.TitleBarText" Color="#FFEAC067"/>
    <SolidColorBrush x:Key="Brush.StatsIcon" Color="#E5CC934B"/>
    <SolidColorBrush x:Key="Brush.StatsLabelText" Color="#E5FFFFFF"/>
    <SolidColorBrush x:Key="Brush.RegularText" Color="#7FFFFFFF"/>
    <SolidColorBrush x:Key="Brush.SlotBorder" Color="#FFEBA147"/>
    <SolidColorBrush x:Key="Brush.EquipSlotText" Color="#CCC6C4B9"/>
    <LinearGradientBrush x:Key="Brush.StatsValueBackground" EndPoint="1,0" StartPoint="0,0">
        <GradientStop Color="#00000000" Offset="0"/>
        <GradientStop Color="#7F000000" Offset="0.9"/>
        <GradientStop Color="#33000000" Offset="1"/>
    </LinearGradientBrush>
    
    <!-- Global -->
    <Style  TargetType="{x:Type TextBlock}">
        <Setter Property="Foreground" Value="{StaticResource Brush.RegularText}" />
        <Setter Property="FontSize" Value="28" />
        <Setter Property="FontFamily" Value="Fonts/#AlegreyaSans-Regular"/>
        <Setter Property="TextWrapping" Value="Wrap"/>
    </Style>

    <!--Title Bar-->
    <Style x:Key="Style.ParagraphTitle" TargetType="{x:Type TextBlock}">
        <Setter Property="FontFamily" Value="Fonts/#Alegreya-Regular"/>
        <Setter Property="Foreground" Value="{StaticResource Brush.TitleBarText}"/>
        <Setter Property="Margin" Value="0,8"/>
        <!--<Setter Property="Text">
            <Setter.Value>
                <Binding Path="Text">
                    <Binding.Converter>
                        <converters:UppercaseConverter/>
                    </Binding.Converter>
                </Binding>
            </Setter.Value>
        </Setter>-->

        <!--<Setter Property="Text" Value="{Binding Text, RelativeSource={RelativeSource Self}, Converter={StaticResource UppercaseConverter}}"/>-->
    </Style>

</ResourceDictionary>