Files
Djagor d85f2e0fb3 Farbpalette vorladen lassen
Bootstraper läd jetzt die farbeinstellung sofort und nicht nachträglich

cleanup and rework

PDF switch to HTML

export fix

Colorsystem

Farben für knöpfe hinzugefügt als anpassung

button color

button color primary and secondary change
2026-03-24 21:59:59 +01:00

45 lines
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="cfs_tracker.App">
<Application.Resources>
<ResourceDictionary>
<Color x:Key="AppBackground">#0B1A2A</Color>
<Color x:Key="SurfaceBackground">#132235</Color>
<Color x:Key="SurfaceBackgroundAlt">#1A2B40</Color>
<Color x:Key="Border">#2A3E55</Color>
<Color x:Key="TextPrimary">#DCE7F3</Color>
<Color x:Key="TextMuted">#8FA6BC</Color>
<Color x:Key="StateGreen">#4E8B69</Color>
<Color x:Key="StateYellow">#B89A42</Color>
<Color x:Key="StateRed">#A85C5C</Color>
<Color x:Key="StateGray">#1F242B</Color>
<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">Schwarz</x:String>
<Color x:Key="ButtonPrimaryBackground">#355066</Color>
<Color x:Key="ButtonPrimaryText">#FFFFFF</Color>
<Color x:Key="ButtonSecondaryBackground">#355055</Color>
<Color x:Key="ButtonSecondaryText">#DCE7F3</Color>
<Style x:Key="PrimaryButtonStyle" TargetType="Button">
<Setter Property="BackgroundColor" Value="{DynamicResource ButtonPrimaryBackground}" />
<Setter Property="TextColor" Value="{DynamicResource ButtonPrimaryText}" />
<Setter Property="CornerRadius" Value="12" />
<Setter Property="Padding" Value="14,10" />
</Style>
<Style x:Key="SecondaryButtonStyle" TargetType="Button">
<Setter Property="BackgroundColor" Value="{DynamicResource ButtonSecondaryBackground}" />
<Setter Property="TextColor" Value="{DynamicResource ButtonSecondaryText}" />
<Setter Property="CornerRadius" Value="12" />
<Setter Property="Padding" Value="14,10" />
</Style>
</ResourceDictionary>
</Application.Resources>
</Application>