diff --git a/src/ui/material/draw_helpers.h b/src/ui/material/draw_helpers.h index eb37dde..3e4d29c 100644 --- a/src/ui/material/draw_helpers.h +++ b/src/ui/material/draw_helpers.h @@ -746,13 +746,13 @@ inline void DrawFullWindowBlurBackdrop(ImDrawList* dl, const ImVec2& pMin, const params.absoluteBlurRadius = true; // fixed modal blur — independent of the user's acrylic slider params.fallbackColor.w = 1.0f; // full-strength blur so the live content reads effects::ImGuiAcrylic::DrawAcrylicRect(dl, pMin, pMax, params, 0.0f); - // Dim over the blur so the floating (card-less) modal reads as foreground. On DARK themes the - // theme-tinted frost darkens the backdrop and the light content pops. On LIGHT themes that same - // tint whitens the backdrop and leaves card-less content with no figure/ground separation — so - // light themes get a neutral dark veil instead, which also makes the modal's fields/buttons stand - // out from the (now slightly greyed) surround. Both a touch stronger than before (was alpha 70). + // Veil over the blur so the floating (card-less) modal reads as foreground. On DARK themes a + // theme-tinted frost darkens the backdrop and the light content pops. On LIGHT themes the modal's + // own controls carry a dropshadow for figure/ground, so the backdrop stays LIGHT — a theme-tinted + // light frost — rather than a dark veil (which made a "light" theme read dark and sank the + // dark-on-light chrome into it). if (IsLightTheme()) - dl->AddRectFilled(pMin, pMax, IM_COL32(16, 18, 24, 200)); // neutral dark veil anchors on white + dl->AddRectFilled(pMin, pMax, WithAlpha(Background(), 205)); // light frost — dropshadows give shape else dl->AddRectFilled(pMin, pMax, WithAlpha(Background(), 120)); // theme-tinted darken, stronger }