diff --git a/lib/pages/store.dart b/lib/pages/store.dart index 05ce0e0..b28a236 100644 --- a/lib/pages/store.dart +++ b/lib/pages/store.dart @@ -2567,6 +2567,36 @@ class _DocsPanel extends StatelessWidget { color: theme.colorScheme.surfaceContainer, borderRadius: BorderRadius.circular(FaiRadius.sm), ), + // flutter_markdown default-blockquote nutzt + // hardcodiertes `Colors.blue.shade100` als + // Background, was im Dark-Theme mit weißem Text + // unlesbar wird. Wir setzen Theme-konsistente + // Werte: surfaceContainer-Background + linke + // Akzent-Border, Text in onSurface. + blockquote: theme.textTheme.bodyMedium?.copyWith( + color: theme.colorScheme.onSurface, + ), + blockquoteDecoration: BoxDecoration( + color: theme.colorScheme.surfaceContainer, + borderRadius: BorderRadius.circular(FaiRadius.sm), + border: Border( + left: BorderSide( + color: theme.colorScheme.primary, + width: 3, + ), + ), + ), + blockquotePadding: const EdgeInsets.fromLTRB( + FaiSpace.md, + FaiSpace.sm, + FaiSpace.sm, + FaiSpace.sm, + ), + // Tabellen-Cells haben dasselbe Default-Problem + // (Material-2-Light-Annahme). Theme-Werte erzwingen. + tableCellsDecoration: BoxDecoration( + color: theme.colorScheme.surfaceContainerHigh, + ), ), ), );