<commit_before>﻿<Application x:Class="twitch_tv_viewer.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:system="clr-namespace:System;assembly=mscorlib"
             StartupUri="Views/MainWindow.xaml">
    <Application.Resources>

        <!--  Constants  -->

        <SolidColorBrush x:Key="Text">GreenYellow</SolidColorBrush>
        <SolidColorBrush x:Key="Border">DarkSlateGray</SolidColorBrush>
        <SolidColorBrush x:Key="Background">Black</SolidColorBrush>
        <SolidColorBrush x:Key="Input">#162525</SolidColorBrush>
        <system:Double x:Key="FontSize">18</system:Double>
        <FontFamily x:Key="Font">Consolas</FontFamily>

        <!--  Master style  -->

        <Style TargetType="Control">
            <Setter Property="Background" Value="{StaticResource Background}" />
            <Setter Property="Foreground" Value="{StaticResource Text}" />
            <Setter Property="FontFamily" Value="{StaticResource Font}" />
            <Setter Property="FontSize" Value="{StaticResource FontSize}" />
            <Setter Property="HorizontalAlignment" Value="Center" />
            <Setter Property="HorizontalContentAlignment" Value="Center" />
            <Setter Property="VerticalAlignment" Value="Center" />
            <Setter Property="VerticalContentAlignment" Value="Center" />
        </Style>

        <!--  Control/Input styles  -->

        <Style BasedOn="{StaticResource {x:Type Control}}" TargetType="Label" />

        <Style BasedOn="{StaticResource {x:Type Control}}" TargetType="Button">

            <Style.Triggers>
                <Trigger Property="IsMouseOver" Value="True">
                    <Setter Property="Foreground" Value="White" />
                    <Setter Property="Background" Value="{StaticResource Border}" />
                </Trigger>
            </Style.Triggers>

            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type Button}">
                        <Border Background="{TemplateBinding Background}" BorderThickness="0">
                            <ContentPresenter Margin="3"
                                              HorizontalAlignment="Center"
                                              VerticalAlignment="Center" /><commit_msg>Add underline to text in button<commit_after>﻿<Application x:Class="twitch_tv_viewer.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:system="clr-namespace:System;assembly=mscorlib"
             StartupUri="Views/MainWindow.xaml">
    <Application.Resources>

        <!--  Constants  -->

        <SolidColorBrush x:Key="Text">GreenYellow</SolidColorBrush>
        <SolidColorBrush x:Key="Border">DarkSlateGray</SolidColorBrush>
        <SolidColorBrush x:Key="Background">Black</SolidColorBrush>
        <SolidColorBrush x:Key="Input">#162525</SolidColorBrush>
        <system:Double x:Key="FontSize">18</system:Double>
        <FontFamily x:Key="Font">Consolas</FontFamily>

        <!--  Master style  -->

        <Style TargetType="Control">
            <Setter Property="Background" Value="{StaticResource Background}" />
            <Setter Property="Foreground" Value="{StaticResource Text}" />
            <Setter Property="FontFamily" Value="{StaticResource Font}" />
            <Setter Property="FontSize" Value="{StaticResource FontSize}" />
            <Setter Property="HorizontalAlignment" Value="Center" />
            <Setter Property="HorizontalContentAlignment" Value="Center" />
            <Setter Property="VerticalAlignment" Value="Center" />
            <Setter Property="VerticalContentAlignment" Value="Center" />
        </Style>

        <!--  Control/Input styles  -->

        <Style BasedOn="{StaticResource {x:Type Control}}" TargetType="Label" />

        <Style BasedOn="{StaticResource {x:Type Control}}" TargetType="Button">

            <Style.Triggers>
                <Trigger Property="IsMouseOver" Value="True">
                    <Setter Property="Foreground" Value="White" />
                    <Setter Property="Background" Value="{StaticResource Border}" />
                </Trigger>
            </Style.Triggers>

            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type Button}">
                        <Border Background="{TemplateBinding Background}" BorderThickness="0">
                            <ContentPresenter Margin="3"
                                              HorizontalAlignment="Center"
                                              VerticalAlignment="Center">
                                <ContentPresenter.Resources>
                                    <Style TargetType="TextBlock">
                                        <Setter Property="TextDecorations" Value="Underline" />
                                    </Style>
                                </ContentPresenter.Resources>
                            </ContentPresenter>

{'fraction_non_alphanumeric': 0.1280674846625767, 'fraction_numerical': 0.006901840490797546, 'mean_word_length': 2.114626865671642, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 0, '>': 89, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 11, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3069861', 'n_tokens_mistral': 1357, 'n_tokens_neox': 1206, 'n_words': 198}