feat: add GrayedOutBrush to PdfTheme for dimmed event rows

This commit is contained in:
2026-03-24 16:24:36 +01:00
parent 1a4e3538b5
commit 8675c6a19e

View File

@@ -31,6 +31,7 @@ public static class PdfTheme
public static readonly Color SeparatorLine = Color.FromArgb(255, 221, 221, 221); // #DDDDDD
public static readonly Color TableBorder = Color.FromArgb(255, 187, 187, 187); // #BBBBBB
public static readonly Color TableAltRow = Color.FromArgb(255, 247, 249, 252); // #F7F9FC
public static readonly Color GrayedOut = Color.FromArgb(255, 170, 170, 170); // #AAAAAA
// TableHeaderBg is AccentBlue — use AccentBlueBrush / TableHeaderBrush directly
// Colori box header pagina 1
@@ -98,6 +99,7 @@ public static class PdfTheme
public static PdfBrush BoxGrayAccentBrush => new PdfSolidBrush(BoxGrayAccent);
public static PdfBrush BoxGrayLabelBrush => new PdfSolidBrush(BoxGrayLabel);
public static PdfBrush BoxGrayValueBrush => new PdfSolidBrush(BoxGrayValue);
public static PdfBrush GrayedOutBrush => new PdfSolidBrush(GrayedOut);
// ─── Utility ───────────────────────────────────────────────────────
public static PdfBrush ValueBrush(decimal? value)