diff --git a/src/app_security.cpp b/src/app_security.cpp index 029d97f..4fddf4f 100644 --- a/src/app_security.cpp +++ b/src/app_security.cpp @@ -793,6 +793,10 @@ void App::renderLockScreen() { cap.captureFrames--; } DrawFullWindowBlurBackdrop(dl, winPos, winMax, /*allowBlur=*/!justLocked); + // A lock screen should read as a clearly-dimmed "locked" state; the blur alone is light in a + // light theme, which washes out the card. Add a theme-independent dark scrim over the blur so + // the card pops in both themes (standard lock-screen dimming). + dl->AddRectFilled(winPos, winMax, IM_COL32(6, 8, 16, 140)); MarkBlurOverlayDrawn(nullptr); // suppress foreground theme-effect bleed + re-capture on unlock }