From db1d422b21bba5104e38c82bc8ea32069c4b0427 Mon Sep 17 00:00:00 2001 From: Ludwig Mey Date: Mon, 27 Jul 2026 21:25:11 +1200 Subject: [PATCH] Add Boys/beetroot color, bump event font size by 1px MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - New 'Boys' member with beetroot color (#6B1040 / #D4A8C0) — any event containing the word "Boys" gets this color - Mom/Dad were already matched via fuzzy alias detection (no change needed) - Event card font sizes increased by 1px (12.5px body, 11.5px time, 11px member) Co-Authored-By: Claude Sonnet 4.6 --- config.py | 9 +++++---- static/css/style.css | 6 +++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/config.py b/config.py index 3294c7b..966c365 100644 --- a/config.py +++ b/config.py @@ -35,9 +35,10 @@ class Config: # Event titles prefixed with "[Alias]" (e.g. "[Daniel] Football Practice") # are tagged with that member's name/color and the prefix is stripped for display. FAMILY_MEMBERS = [ - {'key': 'dad', 'name': 'Ludwig', 'aliases': ['ludwig', 'dad'], 'color': '#1A6BBF', 'bg': '#C2DEFA'}, - {'key': 'mom', 'name': 'Michelle', 'aliases': ['michelle', 'mom'], 'color': '#BF1A6B', 'bg': '#FAC2DC'}, - {'key': 'jason', 'name': 'Jason', 'aliases': ['jason'], 'color': '#1A8C1E', 'bg': '#BFEDCA'}, - {'key': 'daniel', 'name': 'Daniel', 'aliases': ['daniel'], 'color': '#BF7A00', 'bg': '#FAE4A0'}, + {'key': 'dad', 'name': 'Ludwig', 'aliases': ['ludwig', 'dad'], 'color': '#1A6BBF', 'bg': '#C2DEFA'}, + {'key': 'mom', 'name': 'Michelle', 'aliases': ['michelle', 'mom'], 'color': '#BF1A6B', 'bg': '#FAC2DC'}, + {'key': 'jason', 'name': 'Jason', 'aliases': ['jason'], 'color': '#1A8C1E', 'bg': '#BFEDCA'}, + {'key': 'daniel','name': 'Daniel', 'aliases': ['daniel'], 'color': '#BF7A00', 'bg': '#FAE4A0'}, + {'key': 'boys', 'name': 'Boys', 'aliases': ['boys'], 'color': '#6B1040', 'bg': '#D4A8C0'}, ] DEFAULT_MEMBER = {'key': 'family', 'name': 'Family', 'color': '#666666', 'bg': '#E0E0E0'} diff --git a/static/css/style.css b/static/css/style.css index b52e56e..a556ed2 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -120,14 +120,14 @@ html, body { border-radius: 8px; padding: 6px 8px; border-left: 5px solid transparent; - font-size: 11.5px; + font-size: 12.5px; line-height: 1.35; } .event-time { font-weight: 700; color: rgba(0, 0, 0, 0.5); - font-size: 10.5px; + font-size: 11.5px; } .event-title { @@ -137,7 +137,7 @@ html, body { } .event-member { - font-size: 10px; + font-size: 11px; font-weight: 600; color: rgba(0, 0, 0, 0.45); margin-top: 2px;