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
25 lines
847 B
C#
25 lines
847 B
C#
using Microsoft.Maui.Graphics;
|
|
|
|
namespace cfs_tracker.ViewModels;
|
|
|
|
public class WeekCellViewModel
|
|
{
|
|
public DateTime Date { get; init; }
|
|
|
|
public string DayText { get; init; } = string.Empty;
|
|
public string DateText { get; init; } = string.Empty;
|
|
|
|
public string MorningText { get; init; } = string.Empty;
|
|
public string AfternoonText { get; init; } = string.Empty;
|
|
|
|
public string MorningCountText { get; init; } = string.Empty;
|
|
public string AfternoonCountText { get; init; } = string.Empty;
|
|
|
|
public Color MorningBackgroundColor { get; init; } = Colors.Transparent;
|
|
public Color AfternoonBackgroundColor { get; init; } = Colors.Transparent;
|
|
|
|
public Color MorningTextColor { get; init; } = Colors.White;
|
|
public Color AfternoonTextColor { get; init; } = Colors.White;
|
|
|
|
public bool IsToday { get; init; }
|
|
} |