From 9f538a87840db95a154f80bd53501d52c5ccb08a Mon Sep 17 00:00:00 2001 From: Sven Geboers Date: Tue, 24 Mar 2026 23:55:48 +0100 Subject: [PATCH] feat(explorer): add ChristenUnie colour alias and CURRENT_PARLIAMENT_PARTIES constant docs/superpowers/plans/2026-03-24-svd-tab-redesign.md --- explorer.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/explorer.py b/explorer.py index bacdeee..6d74eeb 100644 --- a/explorer.py +++ b/explorer.py @@ -49,6 +49,7 @@ PARTY_COLOURS: Dict[str, str] = { "DENK": "#00897B", "50PLUS": "#7E57C2", "Volt": "#572AB7", + "ChristenUnie": "#0288D1", "Unknown": "#9E9E9E", } @@ -69,6 +70,29 @@ KNOWN_MAJOR_PARTIES = [ ] +# Parties currently seated in the Tweede Kamer (2023 election cycle). +# Deze zijn de entity_ids zoals opgeslagen in svd_vectors voor window='2025'. +CURRENT_PARLIAMENT_PARTIES: frozenset[str] = frozenset( + { + "PVV", + "VVD", + "NSC", + "BBB", + "D66", + "GroenLinks-PvdA", + "CDA", + "SP", + "ChristenUnie", + "SGP", + "Volt", + "DENK", + "PvdD", + "JA21", + "FVD", + } +) + + # --------------------------------------------------------------------------- # Cached loaders # ---------------------------------------------------------------------------