From 8b1c4555ade6788330b8f647ec94386dbd85e539 Mon Sep 17 00:00:00 2001 From: Julien Martin Date: Wed, 30 Sep 2026 17:05:19 +0200 Subject: [PATCH] =?UTF-8?q?fix(#173):=20bulles=20cong=C3=A9=20AM=20en=20aq?= =?UTF-8?q?ua=20(plus=20de=20lavande)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Override front tant que le back renvoie encore couleur=lavender. Co-authored-by: Cursor --- frontend/lib/models/carte_bulle.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/lib/models/carte_bulle.dart b/frontend/lib/models/carte_bulle.dart index e047876..d5b646d 100644 --- a/frontend/lib/models/carte_bulle.dart +++ b/frontend/lib/models/carte_bulle.dart @@ -139,6 +139,10 @@ class CarteBulle { /// Asset horizontal pastel (palette `assets/cards/` uniquement). String get backgroundAsset { + // Congés : aqua (le lavande API ne convient pas au design). + if (typeCode == 'conge_am') { + return CardColorHorizontal.aqua.path; + } final key = (couleur ?? '').trim().toLowerCase(); switch (key) { case 'red':