From 7c1723b0adfd139e0100e674dbadc4876bf29247 Mon Sep 17 00:00:00 2001 From: Zaldimmar Date: Tue, 29 Sep 2026 09:10:19 -0500 Subject: [PATCH] Keep the Church Center giving modal see-through in dark mode Its transparent full-page iframe is drawn for light pages; with the site in dark mode the browser painted the iframe opaque and the page went white. The iframe is now declared light, matching its content. Co-Authored-By: Claude Opus 5.5 --- src/index.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/index.css b/src/index.css index a6904db..36a9abc 100644 --- a/src/index.css +++ b/src/index.css @@ -149,6 +149,15 @@ h1, h2, h3, h4, h5, h6 { } } +/* Church Center's giving modal (Giving.tsx) is a transparent iframe + over the whole page, drawn for light pages. On a dark page the + browser sees the iframe's scheme differ from ours and paints its + background opaque, so the page behind goes solid white. Telling it + the iframe is light keeps the backdrop see-through. */ +iframe[src*="churchcenter"] { + color-scheme: light; +} + /* Corners, one rule for the site: actions (buttons, pills, chips) are rounded-full; cards and panels are rounded-3xl when large and rounded-2xl when small; media and logos inside a card are