<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="Northwind.Maui.Client.SettingsPage"
             Loaded="ContentPage_Loaded"
             Title="Ustawienia">

  <VerticalStackLayout Padding="10">

    <Label Text="Kolor tekstu" />
    <Entry x:Name="TextColorEntry" 
           TextChanged="TextColorEntry_TextChanged" />

    <Label Text="Kolor tła" />
    <Entry x:Name="BackgroundColorEntry" 
           TextChanged="BackgroundColorEntry_TextChanged" />

    <Button x:Name="ApplyButton" Text="Zastosuj" 
            TextColor="{DynamicResource TextColor}"
            BackgroundColor="{DynamicResource BackgroundColor}"
            Clicked="ApplyButton_Clicked" IsEnabled="false" />

  </VerticalStackLayout>
</ContentPage>