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:
2026-03-23 22:42:52 +01:00
parent d5649dc189
commit d85f2e0fb3
84 changed files with 4216 additions and 1814 deletions
+14 -5
View File
@@ -1,14 +1,23 @@
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.ComponentModel;
using cfs_tracker.Helpers;
using Microsoft.Maui.Graphics;
namespace cfs_tracker.ViewModels;
public partial class AppearanceColorItemViewModel : ObservableObject
{
public string Key { get; init; } = string.Empty;
[ObservableProperty]
private string title = string.Empty;
public string Title { get; init; } = string.Empty;
public string Fallback { get; init; } = "#000000";
[ObservableProperty]
private string value = string.Empty;
}
[ObservableProperty]
private Color previewColor = Colors.Transparent;
partial void OnValueChanged(string value)
{
PreviewColor = ColorUtility.ParseColor(value, Fallback);
}
}