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,13 +1,17 @@
|
||||
using CommunityToolkit.Mvvm.ComponentModel;
|
||||
using Microsoft.Maui.Graphics;
|
||||
|
||||
namespace cfs_tracker.ViewModels;
|
||||
public class MonthCellViewModel
|
||||
|
||||
public partial class MonthCellViewModel : ObservableObject
|
||||
{
|
||||
public bool IsRealDay { get; init; }
|
||||
public DateTime Date { get; init; }
|
||||
public string DayNumberText { get; init; } = "";
|
||||
public string CountText { get; init; } = "";
|
||||
public Color BackgroundColor { get; init; } = Colors.Transparent;
|
||||
public string DayNumberText { get; init; } = string.Empty;
|
||||
public bool IsCurrentMonth { get; init; }
|
||||
public bool IsToday { get; init; }
|
||||
public bool HasEntries { get; init; }
|
||||
public string AverageStateText { get; init; } = string.Empty;
|
||||
public Color StateColor { get; init; } = Colors.Transparent;
|
||||
public Color TextColor { get; init; } = Colors.White;
|
||||
public Color BorderColor { get; init; } = Colors.Transparent;
|
||||
public Color TextColor { get; init; } = Colors.Black;
|
||||
public static MonthCellViewModel Placeholder() => new() { IsRealDay = false };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user