Symptom

The app always followed the OS dark/light setting with no way for the user to override it. Requesting a third toggle button in the top-right corner stack to force dark, light, or revert to system.

Root cause

No feature gap — this was a missing enhancement. Theme was controlled solely by isSystemInDarkTheme() in App.kt, with a headless-only escape via KRILL_THEME env var / -Dkrill.theme system property.

Fix

Prevention