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
This commit is contained in:
@@ -1,54 +1,44 @@
|
||||
<?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">
|
||||
|
||||
<?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>
|
||||
|
||||
<!-- 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="StateGreen">#4E8B69</Color>
|
||||
<Color x:Key="StateYellow">#B89A42</Color>
|
||||
<Color x:Key="StateRed">#A85C5C</Color>
|
||||
<Color x:Key="StateGray">#5C6670</Color>
|
||||
<Color x:Key="StateGray">#1F242B</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>
|
||||
<x:String x:Key="StatusGrayText">Schwarz</x:String>
|
||||
|
||||
<Style TargetType="ContentPage">
|
||||
<Setter Property="BackgroundColor" Value="{DynamicResource AppBackground}" />
|
||||
</Style>
|
||||
<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 TargetType="Label">
|
||||
<Setter Property="TextColor" Value="{DynamicResource TextPrimary}" />
|
||||
</Style>
|
||||
|
||||
<Style TargetType="Button">
|
||||
<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="12,10" />
|
||||
<Setter Property="BackgroundColor" Value="{DynamicResource PanelBackground2}" />
|
||||
<Setter Property="TextColor" Value="{DynamicResource TextPrimary}" />
|
||||
<Setter Property="Padding" Value="14,10" />
|
||||
</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 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>
|
||||
</Application>
|
||||
|
||||
Reference in New Issue
Block a user