<?xml version="1.0" encoding="UTF-8" ?>
<?xaml-comp compile="true" ?>
<ResourceDictionary 
    xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">

    <Style TargetType="Page" ApplyToDerivedTypes="True">
        <Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource FondClair}, Dark={StaticResource FondSombre}}"/>
    </Style>

    <Style TargetType="Label">
        <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource TexteSombre}, Dark={StaticResource TexteClair}}"/>
    </Style>

    <Style TargetType="Button">
        <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource TexteSombre}, Dark={StaticResource TexteClair}}"/>
        <Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource FondSecondaireClair}, Dark={StaticResource FondSecondaireSombre}}" />
        <Setter Property="FontSize" Value="Large"/>
        <Setter Property="HeightRequest" Value="80"/>
        <Setter Property="WidthRequest" Value="500"/>
    </Style>

    <Style TargetType="Frame">
        <Setter Property="BorderColor" Value="Black"/>
    </Style>

    <Style TargetType="Entry">
        <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource TexteSombre}, Dark={StaticResource TexteClair}}"/>
    </Style>

    <Style TargetType="ImageButton">
        <Setter Property="MaximumWidthRequest" Value="150"/>
        <Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource FondClair}, Dark={StaticResource FondSombre}}"/>
        <Setter Property="BorderColor" Value="{AppThemeBinding Light={StaticResource FondClair}, Dark={StaticResource FondSombre}}"/>
    </Style>

    <Style TargetType="Border">
        <Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource FondSecondaireClair}, Dark={StaticResource FondSecondaireSombre}}"/>
        <Setter Property="Stroke" Value="{AppThemeBinding Light={StaticResource BordureClair}, Dark={StaticResource BordureSombre}}"/>
    </Style>

    <Style TargetType="BoxView">
        <Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource BordureClair}, Dark={StaticResource BordureSombre}}"/>
    </Style>

    <Style TargetType="Ellipse">
        <Setter Property="Stroke" Value="{AppThemeBinding Light={StaticResource BordureClair}, Dark={StaticResource BordureSombre}}"/>
    </Style>

</ResourceDictionary>
