Details ausgearbeitet
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
This commit is contained in:
@@ -1,26 +1,13 @@
|
||||
using Microsoft.Maui.Graphics;
|
||||
|
||||
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,
|
||||
BackgroundColor = Colors.Transparent,
|
||||
BorderColor = Colors.Transparent,
|
||||
TextColor = Colors.Transparent,
|
||||
DayNumberText = "",
|
||||
CountText = ""
|
||||
};
|
||||
}
|
||||
public static MonthCellViewModel Placeholder() => new() { IsRealDay = false };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user