<commit_before>﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:sys="clr-namespace:System;assembly=mscorlib"
                    xmlns:tk="http://schemas.xceed.com/wpf/xaml/toolkit"
                    xmlns:tkprim="clr-namespace:Xceed.Wpf.Toolkit.Primitives;assembly=Xceed.Wpf.Toolkit"
                    xmlns:tkthemes="clr-namespace:Xceed.Wpf.Toolkit.Themes;assembly=Xceed.Wpf.Toolkit"
                    xmlns:conv="clr-namespace:CmdrCompanion.Interface.Converters">

    <conv:BooleanToVisibilityConverter x:Key="converterVisibility" />

    <!-- System base resources -->
    <Color x:Key="BorderDarkColor">#FF414141</Color>
    <Color x:Key="BorderMediumColor">#FF4D4D4D</Color>
    <Color x:Key="BoderLightColor">#FFB7B7B7</Color>
    <Color x:Key="ControlLightColor">#EE000000</Color>
    <Color x:Key="ControlMouseOverColor">#FF3843C4</Color>
    <Color x:Key="ControlPressedColor">#FF211AA9</Color>
    <Color x:Key="DisabledBorderDarkColor">#FF888888</Color>
    <Color x:Key="DisabledBorderLightColor">#FFAAAAAA</Color>
    <Color x:Key="DisabledControlDarkColor">#FFC5CBF9</Color>
    <Color x:Key="DisabledForegroundColor">#FF888888</Color>
    <Color x:Key="SelectedBackgroundColor">#99272727</Color>
    <Color x:Key="SelectedUnfocusedColor">#55272727</Color>

    <!-- Custom base resources -->
    <Color x:Key="textColor">#FFEAEAEA</Color>
    <Color x:Key="buttonMouseOverBackgroundColor">#22FFFFFF</Color>
    <Color x:Key="buttonHighlightBackgroundColor">#33FFFFFF</Color>
    
    <SolidColorBrush x:Key="borderColor">#FF4E4E4E</SolidColorBrush>
    <SolidColorBrush x:Key="backColor">#EE000000</SolidColorBrush>
    <SolidColorBrush x:Key="textColorBrush" Color="{DynamicResource textColor}" />
    <SolidColorBrush x:Key="separatorColor">#FFB7B9B8</SolidColorBrush>
    <SolidColorBrush x:Key="selectedbackgroundColorBrush" Color="{DynamicResource SelectedBackgroundColor}" />
    <SolidColorBrush x:Key="buttonBackgroundBrush" Color="#11FFFFFF" />
    <SolidColorBrush x:Key="buttonMouseOverBackgroundBrush" Color="{DynamicResource buttonMouseOverBackgroundColor}" />
    <SolidColorBrush x:Key="buttonHighlightBackgroundBrush" Color="{DynamicResource buttonHighlightBackgroundColor}" />

    <SolidColorBrush x:Key="ControlTextBrush">#FFEAEAEA</SolidColorBrush>

    <FontFamily x:Key="textFont">#Exo 2</FontFamily>
    <sys:Double x:Key="textFontSize">15</sys:Double>

    <Thickness x:Key="containerBorderThickness" Bottom="4" Top="4" Left="2" Right="2" />
    
    <!-- Control styles starts here -->
    
    <Style TargetType="Window" x:Key="mainWindow">
        <Setter Property="WindowStyle" Value="None" />
        <Setter Property="AllowsTransparency" Value="True" />
        <Setter Property="BorderBrush" Value="{DynamicResource borderColor}" />
        <Setter Property="BorderThickness" Value="{DynamicResource containerBorderThickness}" />
        <Setter Property="Background" Value="{DynamicResource backColor}" />
        <Setter Property="ResizeMode" Value="CanResizeWithGrip" />
    </Style>

    <Style TargetType="TextBlock">
        <Setter Property="Foreground" Value="{StaticResource textColorBrush}" />
        <Setter Property="FontFamily" Value="{DynamicResource textFont}" />
        <Setter Property="FontSize" Value="{DynamicResource textFontSize}" />
        <Setter Property="Padding" Value="1" />
    </Style>

    <Style TargetType="Label">
        <Setter Property="Foreground" Value="{StaticResource textColorBrush}" />
        <Setter Property="FontFamily" Value="#Exo 2" />
        <Setter Property="FontSize" Value="15" />
    </Style>

    <Style TargetType="Button">
        <Setter Property="BorderBrush" Value="{DynamicResource borderColor}" />
        <Setter Property="Padding" Value="20, 5" />
        <Setter Property="Background" Value="Black" />
    </Style>

    <Style TargetType="TabControl">
        <Setter Property="Background" Value="Transparent" />
        <Setter Property="BorderThickness" Value="{DynamicResource containerBorderThickness}" />
        <Setter Property="BorderBrush" Value="{DynamicResource borderColor}" />
        <Setter Property="Margin" Value="10" />
    </Style>

    <Style TargetType="TabItem">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="TabItem">
                    <Border Margin="5"
                            Background="{DynamicResource backColor}"
                            BorderBrush="{DynamicResource borderColor}"
                            BorderThickness="2"
                            Padding="5">
                        <ContentPresenter VerticalAlignment="Center"
                                          HorizontalAlignment="Center"
                                          ContentSource="Header"
                                          RecognizesAccessKey="True" />
                    </Border><commit_msg>Button graphics now react to mouse interactions<commit_after>﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:sys="clr-namespace:System;assembly=mscorlib"
                    xmlns:tk="http://schemas.xceed.com/wpf/xaml/toolkit"
                    xmlns:tkprim="clr-namespace:Xceed.Wpf.Toolkit.Primitives;assembly=Xceed.Wpf.Toolkit"
                    xmlns:tkthemes="clr-namespace:Xceed.Wpf.Toolkit.Themes;assembly=Xceed.Wpf.Toolkit"
                    xmlns:conv="clr-namespace:CmdrCompanion.Interface.Converters">

    <conv:BooleanToVisibilityConverter x:Key="converterVisibility" />

    <!-- System base resources -->
    <Color x:Key="BorderDarkColor">#FF414141</Color>
    <Color x:Key="BorderMediumColor">#FF4D4D4D</Color>
    <Color x:Key="BoderLightColor">#FFB7B7B7</Color>
    <Color x:Key="ControlLightColor">#EE000000</Color>
    <Color x:Key="ControlMouseOverColor">#FF3843C4</Color>
    <Color x:Key="ControlPressedColor">#FF211AA9</Color>
    <Color x:Key="DisabledBorderDarkColor">#FF888888</Color>
    <Color x:Key="DisabledBorderLightColor">#FFAAAAAA</Color>
    <Color x:Key="DisabledControlDarkColor">#FFC5CBF9</Color>
    <Color x:Key="DisabledForegroundColor">#FF888888</Color>
    <Color x:Key="SelectedBackgroundColor">#99272727</Color>
    <Color x:Key="SelectedUnfocusedColor">#55272727</Color>

    <!-- Custom base resources -->
    <Color x:Key="textColor">#FFEAEAEA</Color>
    <Color x:Key="buttonMouseOverBackgroundColor">#22FFFFFF</Color>
    <Color x:Key="buttonHighlightBackgroundColor">#33FFFFFF</Color>
    
    <SolidColorBrush x:Key="borderColor">#FF4E4E4E</SolidColorBrush>
    <SolidColorBrush x:Key="backColor">#EE000000</SolidColorBrush>
    <SolidColorBrush x:Key="textColorBrush" Color="{DynamicResource textColor}" />
    <SolidColorBrush x:Key="separatorColor">#FFB7B9B8</SolidColorBrush>
    <SolidColorBrush x:Key="selectedbackgroundColorBrush" Color="{DynamicResource SelectedBackgroundColor}" />
    <SolidColorBrush x:Key="buttonBackgroundBrush" Color="#11FFFFFF" />
    <SolidColorBrush x:Key="buttonMouseOverBackgroundBrush" Color="{DynamicResource buttonMouseOverBackgroundColor}" />
    <SolidColorBrush x:Key="buttonHighlightBackgroundBrush" Color="{DynamicResource buttonHighlightBackgroundColor}" />

    <SolidColorBrush x:Key="ControlTextBrush">#FFEAEAEA</SolidColorBrush>

    <FontFamily x:Key="textFont">#Exo 2</FontFamily>
    <sys:Double x:Key="textFontSize">15</sys:Double>

    <Thickness x:Key="containerBorderThickness" Bottom="4" Top="4" Left="2" Right="2" />
    
    <!-- Control styles starts here -->
    
    <Style TargetType="Window" x:Key="mainWindow">
        <Setter Property="WindowStyle" Value="None" />
        <Setter Property="AllowsTransparency" Value="True" />
        <Setter Property="BorderBrush" Value="{DynamicResource borderColor}" />
        <Setter Property="BorderThickness" Value="{DynamicResource containerBorderThickness}" />
        <Setter Property="Background" Value="{DynamicResource backColor}" />
        <Setter Property="ResizeMode" Value="CanResizeWithGrip" />
    </Style>

    <Style TargetType="TextBlock">
        <Setter Property="Foreground" Value="{StaticResource textColorBrush}" />
        <Setter Property="FontFamily" Value="{DynamicResource textFont}" />
        <Setter Property="FontSize" Value="{DynamicResource textFontSize}" />
        <Setter Property="Padding" Value="1" />
    </Style>

    <Style TargetType="Label">
        <Setter Property="Foreground" Value="{StaticResource textColorBrush}" />
        <Setter Property="FontFamily" Value="#Exo 2" />
        <Setter Property="FontSize" Value="15" />
    </Style>

    <Style TargetType="Button">
        <Setter Property="BorderThickness" Value="2" />
        <Setter Property="BorderBrush" Value="{DynamicResource borderColor}" />
        <Setter Property="Padding" Value="20, 5" />
        <Setter Property="Background" Value="{DynamicResource buttonBackgroundBrush}" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Button">
                    <Border Background="{TemplateBinding Background}"
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}"
                            Padding="{TemplateBinding Padding}">
                        <ContentPresenter VerticalAlignment="Center"
                                          HorizontalAlignment="Center" />
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Style.Triggers>
            <Trigger Property="IsMouseOver" Value="true">
                <Setter Property="Background" Value="{DynamicResource buttonMouseOverBackgroundBrush}" />
            </Trigger>
            <Trigger Property="IsPressed" Value="true">
                <Setter Property="Background" Value="{DynamicResource buttonHighlightBackgroundBrush}" />
            </Trigger>
        </Style.Triggers>
    </Style>

    <Style TargetType="TabControl">
        <Setter Property="Background" Value="Transparent" />
        <Setter Property="BorderThickness" Value="{DynamicResource containerBorderThickness}" />
        <Setter Property="BorderBrush" Value="{DynamicResource borderColor}" />
        <Setter Property="Margin" Value="10" />
    </Style>

    <Style TargetType="TabItem">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="TabItem">
                    <Border Margin="5"
                            Background="{DynamicResource backColor}"
                            BorderBrush="{DynamicResource borderColor}"
                            BorderThickness="2"
                            Padding="5">
                        <ContentPresenter VerticalAlignment="Center"
                                          HorizontalAlignment="Center"
                                          ContentSource="Header"
                                          RecognizesAccessKey="True" />
                    </Border>
{'fraction_non_alphanumeric': 0.13516619519094766, 'fraction_numerical': 0.018122347949080624, 'mean_word_length': 3.1424386671548885, 'pattern_counts': {'":': 0, '<': 201, '<?xml version=': 0, '>': 201, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 14}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 14, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1065271', 'n_tokens_mistral': 3348, 'n_tokens_neox': 2972, 'n_words': 442}