It’d be great to have a separate code block theme setting, independent of the app’s theme, allowing you to set the code block to dark while the app is in light mode, or vice versa.
When my system is in light mode (which it usually is), I find dark code blocks much easier to spot and differentiate from my chat bubbles. Plus, I use dark themes for all my dev-related apps, so I prefer dark code blocks for consistency.