carte de la semaine

This commit is contained in:
2026-03-06 23:49:31 +04:00
parent 622db425fa
commit 3c5331b642
2 changed files with 4 additions and 4 deletions

View File

@@ -25,7 +25,8 @@ const entriesWithFlux = allHumans.filter((h: any) =>
// 2. On trouve la date de la toute dernière transaction enregistrée (pour ne pas être bloqué par un changement de mois vide) // 2. On trouve la date de la toute dernière transaction enregistrée (pour ne pas être bloqué par un changement de mois vide)
const lastFluxEntry = entriesWithFlux.sort( const lastFluxEntry = entriesWithFlux.sort(
(a, b) => new Date(b.data.date).getTime() - new Date(a.data.date).getTime(), (a: any, b: any) =>
new Date(b.data.date).getTime() - new Date(a.data.date).getTime(),
)[0]; )[0];
// 3. On définit la période de référence (Mois/Année) // 3. On définit la période de référence (Mois/Année)
@@ -144,8 +145,7 @@ else if (percentage < 85) status = { label: "ÉQUILIBRE", color: "#3b82f6" };
.bank-card { .bank-card {
background: linear-gradient(135deg, #fff 0%, #f8fafc 100%); background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
color: #1a202c; color: #1a202c;
border-color: var(--accent) !important; border-width: 1px;
border-width: 2px;
} }
.card-inner { .card-inner {

View File

@@ -39,7 +39,7 @@ const isEmpty = remaining <= 0;
<style> <style>
.shopping-card { .shopping-card {
--primary: #10b981; --primary: #10b981;
background: white; background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
border: 1px solid #e2e8f0; border: 1px solid #e2e8f0;
border-radius: 12px; border-radius: 12px;
height: 100%; height: 100%;