fix: standardize subtitle typography in all page headers

All page header subtitles now use variant="body2" color="text.secondary"
(0.875rem gray). Fixed caption→body2 in DataQuality and MarketIntelligence,
and aligned DashboardHeader title/subtitle to the global standard.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Benjamin Sutter
2026-06-11 00:05:30 +02:00
parent 3dcac2dcb6
commit 6e67c698ce
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -20,13 +20,13 @@ export function DashboardHeader({ orgName = 'Demo Organisation', lastUpdated }:
return ( return (
<Box> <Box>
<Box sx={{ display: 'flex', alignItems: 'center', gap: 1, mb: 0.5 }}> <Box sx={{ display: 'flex', alignItems: 'center', gap: 1, mb: 0.5 }}>
<Typography variant="h6" sx={{ fontWeight: 600 }}> <Typography sx={{ fontWeight: 700, fontSize: '1.125rem', lineHeight: 1.3, color: '#0f172a' }}>
{orgName} {orgName}
</Typography> </Typography>
<Chip label="Demo" size="small" color="info" variant="outlined" /> <Chip label="Demo" size="small" color="info" variant="outlined" />
</Box> </Box>
{lastUpdated && ( {lastUpdated && (
<Typography variant="caption" sx={{ color: 'text.secondary' }}> <Typography variant="body2" color="text.secondary">
Zuletzt aktualisiert: {formatLastUpdated(lastUpdated)} Zuletzt aktualisiert: {formatLastUpdated(lastUpdated)}
</Typography> </Typography>
)} )}
+1 -1
View File
@@ -265,7 +265,7 @@ export default function DataQuality() {
{/* Header */} {/* Header */}
<Box sx={{ px: 3, py: 2.5, bgcolor: 'white', borderBottom: '1px solid #e8e7e4', flexShrink: 0 }}> <Box sx={{ px: 3, py: 2.5, bgcolor: 'white', borderBottom: '1px solid #e8e7e4', flexShrink: 0 }}>
<Typography sx={{ fontWeight: 700, fontSize: '1.125rem', lineHeight: 1.3, color: '#0f172a' }}>Datenpflege</Typography> <Typography sx={{ fontWeight: 700, fontSize: '1.125rem', lineHeight: 1.3, color: '#0f172a' }}>Datenpflege</Typography>
<Typography variant="caption" color="text.secondary"> <Typography variant="body2" color="text.secondary">
Vollständigkeit, Aktualität und Vertrauen der Objektdaten · Klick auf KPI-Karte filtert die Liste Vollständigkeit, Aktualität und Vertrauen der Objektdaten · Klick auf KPI-Karte filtert die Liste
</Typography> </Typography>
</Box> </Box>
+1 -1
View File
@@ -1048,7 +1048,7 @@ export default function MarketIntelligence() {
{/* Page header */} {/* Page header */}
<Box sx={{ px: 3, py: 2.5, bgcolor: 'white', borderBottom: '1px solid #e8e7e4', flexShrink: 0 }}> <Box sx={{ px: 3, py: 2.5, bgcolor: 'white', borderBottom: '1px solid #e8e7e4', flexShrink: 0 }}>
<Typography sx={{ fontWeight: 700, fontSize: '1.125rem', lineHeight: 1.3, color: '#0f172a' }}>Marktchancen</Typography> <Typography sx={{ fontWeight: 700, fontSize: '1.125rem', lineHeight: 1.3, color: '#0f172a' }}>Marktchancen</Typography>
<Typography variant="caption" color="text.secondary"> <Typography variant="body2" color="text.secondary">
KI-Signale aus Web-Quellen und menschliche Netzwerk-Hinweise mit Portfolio-Match KI-Signale aus Web-Quellen und menschliche Netzwerk-Hinweise mit Portfolio-Match
</Typography> </Typography>
</Box> </Box>