Symptom

Roborazzi screenshot scenarios for dashboard__empty, connect__step1, and connect__step2 rendered on a white background in CI, while ftue__pin-entry__dark correctly showed ChirpyDarkColorScheme. The UX audit flagged the three light-mode screenshots as a “dark theme not applied” consistency bug.

Root cause

DarkBlueGrayTheme defaults darkTheme to isSystemInDarkTheme(), which resolves to false in CI (no system dark-mode preference). The three affected scenarios called DarkBlueGrayTheme {} without darkTheme = true, so they silently rendered in light mode. The working ftue__pin-entry__dark scenario already passed darkTheme = true explicitly.

Fix

Changed the three scenario calls from DarkBlueGrayTheme { to DarkBlueGrayTheme(darkTheme = true) { in composeApp/src/desktopTest/kotlin/krill/zone/screenshot/Scenarios.kt.

Prevention