<commit_before>﻿<Application
    x:Class="BloodApp.UI.Uwp.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:BloodApp.UI.Uwp"
    xmlns:system="using:System"
    xmlns:converters="using:BloodApp.UI.Uwp.Converters"
    RequestedTheme="Light">

	<Application.Resources>
		<ResourceDictionary>
			<ResourceDictionary.ThemeDictionaries>
				<ResourceDictionary x:Key="Default">
					<!--<Color x:Key="SecondaryColor">#ef2358</Color>-->
					<Color x:Key="SecondaryColor">#fd005a</Color>
					<Color x:Key="CommandBarBackgroundColor">#FFEEEEEE</Color>
					<Color x:Key="PrimaryColor">#c20045</Color>

					<SolidColorBrush x:Key="PrimaryColorBrush" Color="{ThemeResource PrimaryColor}"/>
					<SolidColorBrush x:Key="SecondaryColorBrush" Color="{ThemeResource SecondaryColor}"/>
					<SolidColorBrush x:Key="CommandBarBackgroundColorBrush" Color="{ThemeResource CommandBarBackgroundColor}"/>
					

					<SolidColorBrush x:Key="SystemControlHighlightAccentBrush" Color="{ThemeResource PrimaryColor}"/>
					<SolidColorBrush x:Key="SystemControlHighlightChromeAltLowBrush" Color="{ThemeResource SecondaryColor}"/>
					
					<!-- Buttons Colors -->
					<SolidColorBrush x:Key="BtnBackgroundColor" Color="White" />
					<SolidColorBrush x:Key="BtnBorderColor" Color="{ThemeResource PrimaryColor}" />
					<SolidColorBrush x:Key="BtnForegroundColor" Color="{ThemeResource PrimaryColor}" />

					<SolidColorBrush x:Key="BtnPressedBackgroundColor" Color="{ThemeResource PrimaryColor}" />
					<!--<SolidColorBrush x:Key="BtnPressedBorderColor" Color="DarkRed" />-->
					<SolidColorBrush x:Key="BtnPressedForegroundColor" Color="White" />

				</ResourceDictionary>
			</ResourceDictionary.ThemeDictionaries>
			
			<converters:BooleanToVisibilityConverter x:Key="BoolToVisibilityConverter" />

			<!-- Default style for Windows.UI.Xaml.Controls.Button -->
			<Style TargetType="Button">
				<Setter Property="Background" Value="{ThemeResource BtnBackgroundColor}" />
				<Setter Property="Foreground" Value="{ThemeResource BtnForegroundColor}"/>
				<Setter Property="BorderBrush" Value="{ThemeResource BtnBorderColor}" />
				<Setter Property="BorderThickness" Value="{ThemeResource ButtonBorderThemeThickness}" />
				<Setter Property="Padding" Value="8,4,8,4" />
				<Setter Property="HorizontalAlignment" Value="Left" />
				<Setter Property="VerticalAlignment" Value="Center" />
				<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" />
				<Setter Property="FontWeight" Value="Normal" />
				<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" />
				<Setter Property="UseSystemFocusVisuals" Value="True" />
				<Setter Property="Template">
					<Setter.Value>
						<ControlTemplate TargetType="Button">
							<Grid x:Name="RootGrid" Background="{TemplateBinding Background}">
								<VisualStateManager.VisualStateGroups>
									<VisualStateGroup x:Name="CommonStates">
										<VisualState x:Name="Normal">
											<Storyboard>
												<PointerUpThemeAnimation Storyboard.TargetName="RootGrid" />
											</Storyboard>
										</VisualState>
										<VisualState x:Name="PointerOver">
											<Storyboard>
												<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter"
                                                   Storyboard.TargetProperty="Background">
													<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource BtnPressedBackgroundColor}" />
												</ObjectAnimationUsingKeyFrames>
												<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter"
                                                   Storyboard.TargetProperty="BorderBrush">
													<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource BtnBorderColor}" />
												</ObjectAnimationUsingKeyFrames>
												<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter"
                                                   Storyboard.TargetProperty="Foreground">
													<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource BtnPressedForegroundColor}" />
												</ObjectAnimationUsingKeyFrames>
												<PointerUpThemeAnimation Storyboard.TargetName="RootGrid" />
											</Storyboard><commit_msg>changed button visual states<commit_after>﻿<Application
    x:Class="BloodApp.UI.Uwp.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:BloodApp.UI.Uwp"
    xmlns:system="using:System"
    xmlns:converters="using:BloodApp.UI.Uwp.Converters"
    RequestedTheme="Light">

	<Application.Resources>
		<ResourceDictionary>
			<ResourceDictionary.ThemeDictionaries>
				<ResourceDictionary x:Key="Default">
					<!--<Color x:Key="SecondaryColor">#ef2358</Color>-->
					<Color x:Key="SecondaryColor">#fd005a</Color>
					<Color x:Key="CommandBarBackgroundColor">#FFEEEEEE</Color>
					<Color x:Key="PrimaryColor">#c20045</Color>

					<SolidColorBrush x:Key="PrimaryColorBrush" Color="{ThemeResource PrimaryColor}"/>
					<SolidColorBrush x:Key="SecondaryColorBrush" Color="{ThemeResource SecondaryColor}"/>
					<SolidColorBrush x:Key="CommandBarBackgroundColorBrush" Color="{ThemeResource CommandBarBackgroundColor}"/>
					

					<SolidColorBrush x:Key="SystemControlHighlightAccentBrush" Color="{ThemeResource PrimaryColor}"/>
					<SolidColorBrush x:Key="SystemControlHighlightChromeAltLowBrush" Color="{ThemeResource SecondaryColor}"/>
					
					<!-- Buttons Colors -->
					<SolidColorBrush x:Key="BtnBackgroundColor" Color="{ThemeResource PrimaryColor}" />
					<SolidColorBrush x:Key="BtnBorderColor" Color="{ThemeResource PrimaryColor}" />
					<SolidColorBrush x:Key="BtnForegroundColor" Color="White" />

					<SolidColorBrush x:Key="BtnPressedBackgroundColor" Color="{ThemeResource PrimaryColor}" />
					<!--<SolidColorBrush x:Key="BtnPressedBorderColor" Color="DarkRed" />-->
					<SolidColorBrush x:Key="BtnPressedForegroundColor" Color="White" />

					<SolidColorBrush x:Key="BtnPointedOverBackgroundColor" Color="White" />
					<!--<SolidColorBrush x:Key="BtnPressedBorderColor" Color="DarkRed" />-->
					<SolidColorBrush x:Key="BtnPointedOverForegroundColor" Color="{ThemeResource PrimaryColor}" />
					
				</ResourceDictionary>
			</ResourceDictionary.ThemeDictionaries>
			
			<converters:BooleanToVisibilityConverter x:Key="BoolToVisibilityConverter" />

			<!-- Default style for Windows.UI.Xaml.Controls.Button -->
			<Style TargetType="Button">
				<Setter Property="Background" Value="{ThemeResource BtnBackgroundColor}" />
				<Setter Property="Foreground" Value="{ThemeResource BtnForegroundColor}"/>
				<Setter Property="BorderBrush" Value="{ThemeResource BtnBorderColor}" />
				<Setter Property="BorderThickness" Value="{ThemeResource ButtonBorderThemeThickness}" />
				<Setter Property="Padding" Value="8,4,8,4" />
				<Setter Property="HorizontalAlignment" Value="Left" />
				<Setter Property="VerticalAlignment" Value="Center" />
				<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" />
				<Setter Property="FontWeight" Value="Normal" />
				<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" />
				<Setter Property="UseSystemFocusVisuals" Value="True" />
				<Setter Property="Template">
					<Setter.Value>
						<ControlTemplate TargetType="Button">
							<Grid x:Name="RootGrid" Background="{TemplateBinding Background}">
								<VisualStateManager.VisualStateGroups>
									<VisualStateGroup x:Name="CommonStates">
										<VisualState x:Name="Normal">
											<Storyboard>
												<PointerUpThemeAnimation Storyboard.TargetName="RootGrid" />
											</Storyboard>
										</VisualState>
										<VisualState x:Name="PointerOver">
											<Storyboard>
												<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter"
                                                   Storyboard.TargetProperty="Background">
													<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource BtnPointedOverBackgroundColor}" />
												</ObjectAnimationUsingKeyFrames>
												<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter"
                                                   Storyboard.TargetProperty="BorderBrush">
													<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource BtnBorderColor}" />
												</ObjectAnimationUsingKeyFrames>
												<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter"
                                                   Storyboard.TargetProperty="Foreground">
													<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource BtnPointedOverForegroundColor}" />
												</ObjectAnimationUsingKeyFrames>
												<PointerUpThemeAnimation Storyboard.TargetName="RootGrid" />
											</Storyboard>
{'fraction_non_alphanumeric': 0.12638703950288505, 'fraction_numerical': 0.005992010652463382, 'mean_word_length': 3.971318257032543, 'pattern_counts': {'":': 0, '<': 141, '<?xml version=': 0, '>': 141, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 10}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1324601', 'n_tokens_mistral': 3234, 'n_tokens_neox': 2323, 'n_words': 336}