2b0797f50f
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
14 lines
561 B
C#
14 lines
561 B
C#
using Microsoft.Maui.Graphics;
|
|
namespace cfs_tracker.ViewModels;
|
|
public class MonthCellViewModel
|
|
{
|
|
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 Color BorderColor { get; init; } = Colors.Transparent;
|
|
public Color TextColor { get; init; } = Colors.Black;
|
|
public static MonthCellViewModel Placeholder() => new() { IsRealDay = false };
|
|
}
|