fix(buchhaltung): use theme-aware color for category header rows in dark mode

This commit is contained in:
Matthias Hochmeister
2026-03-30 14:22:56 +02:00
parent fcfee85efd
commit 293848c710

View File

@@ -680,7 +680,7 @@ function UebersichtTab({ haushaltsjahre, selectedJahrId, onJahrChange }: {
const catSpentInst = items.reduce((s, k) => s + Number(k.spent_instandhaltung || 0), 0);
const catEinnahmen = items.reduce((s, k) => s + Number(k.einnahmen_betrag || 0), 0);
rows.push(
<TableRow key={`cat-${key}`} sx={{ bgcolor: 'grey.100', '& td': { fontWeight: 600, fontSize: '0.8rem' } }}>
<TableRow key={`cat-${key}`} sx={{ bgcolor: 'action.hover', '& td': { fontWeight: 600, fontSize: '0.8rem' } }}>
<TableCell>{katName}</TableCell>
<TableCell align="right" sx={dividerLeft}>{fmtEur(catBudgetGwg)}</TableCell>
<TableCell align="right">{fmtEur(catBudgetAnl)}</TableCell>