Files
cfs-Tracker/App.xaml
T
Djagor 2b0797f50f Details ausgearbeitet
Linked colors to options menu

Options extension

Aussehen aufgebohrt:
 - erlaubt text von status zu ändern,
 - bessere beschriftung von Farben

desing änderung und bedienung

- heute status felder anklickbar,
- Farbpalette verdunkelt und kontrast reduziert
- Kalender Tage anklickbar gemacht
- Optionen überarbeitet
2026-03-22 23:09:12 +01:00

54 lines
2.2 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<Application
x:Class="cfs_tracker.App"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
<Application.Resources>
<ResourceDictionary>
<!-- Grundfarben -->
<Color x:Key="AppBackground">#0B1620</Color>
<Color x:Key="PanelBackground">#162330</Color>
<Color x:Key="PanelBackground2">#203041</Color>
<Color x:Key="PanelBorder">#2B3E52</Color>
<Color x:Key="TextPrimary">#D9E6F2</Color>
<Color x:Key="TextMuted">#94A8BC</Color>
<!-- Statusfarben -->
<Color x:Key="StateGreen">#4D8B68</Color>
<Color x:Key="StateYellow">#B89A42</Color>
<Color x:Key="StateRed">#A85C5C</Color>
<Color x:Key="StateGray">#5C6670</Color>
<!-- Statustexte -->
<x:String x:Key="StatusGreenText">Grün</x:String>
<x:String x:Key="StatusYellowText">Gelb</x:String>
<x:String x:Key="StatusRedText">Rot</x:String>
<x:String x:Key="StatusGrayText">Grau</x:String>
<Style TargetType="ContentPage">
<Setter Property="BackgroundColor" Value="{DynamicResource AppBackground}" />
</Style>
<Style TargetType="Label">
<Setter Property="TextColor" Value="{DynamicResource TextPrimary}" />
</Style>
<Style TargetType="Button">
<Setter Property="CornerRadius" Value="12" />
<Setter Property="Padding" Value="12,10" />
<Setter Property="BackgroundColor" Value="{DynamicResource PanelBackground2}" />
<Setter Property="TextColor" Value="{DynamicResource TextPrimary}" />
</Style>
<Style TargetType="Border">
<Setter Property="BackgroundColor" Value="{DynamicResource PanelBackground}" />
<Setter Property="Stroke" Value="{DynamicResource PanelBorder}" />
<Setter Property="StrokeThickness" Value="1" />
<Setter Property="StrokeShape" Value="RoundRectangle 12" />
</Style>
</ResourceDictionary>
</Application.Resources>
</Application>