diff --git a/src/mailer.py b/src/mailer.py index 7c19e21..070a616 100644 --- a/src/mailer.py +++ b/src/mailer.py @@ -89,12 +89,11 @@ def build_message(birthdays: list[dict], target_date: date | None = None) -> Ema age_str = f' · {age} Jahre' if age is not None else "" contact_link = f"{Config.WEB_URL.rstrip('/')}/contacts/{b['id']}" if Config.WEB_URL else "" is_today = b["birthday"].month == today.month and b["birthday"].day == today.day - card_bg = "#fff3cd" if is_today else "#ffffff" - border_color = "#ffc107" if is_today else "#e0e0e0" + card_bg = "#f0f0f0" if is_today else "#ffffff" org_html = f'
{content_html}
@@ -149,21 +148,17 @@ def build_message(birthdays: list[dict], target_date: date | None = None) -> Ema
|