fix(#173): bulles congé AM en aqua (plus de lavande)

Override front tant que le back renvoie encore couleur=lavender.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-01 17:10:41 +02:00
co-authored by Cursor
parent f978e65dfd
commit 8b1c4555ad
+4
View File
@@ -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':