
Hi everyone,
We are currently building an app for a client that includes dynamic Light and Dark mode options. However, we have run into a major styling limitation regarding the top safe area (status bar where the time/battery is shown) and the bottom safe area.
When we set the screen background to transparent, the top and bottom safe area zones always render in a dark color / black.
-
Dark Mode: Works as expected and looks seamless.
-
Light Mode: Displays noticeable black rectangles at the top and bottom of the screen because the safe area background remains dark while the main body turns light.
We have spent considerable time trying to find a workaround without success.
Questions / Feature Requests:
-
Dynamic Safe Area Color: Is there a way (via custom CSS, component settings, or settings) to force the top and bottom safe area backgrounds to adapt dynamically when the user switches themes?
-
Dual-Color Screen Backgrounds in Editor: Would it be possible to allow setting two background colors per screen in the editor—one for Light Mode and one for Dark Mode—or allow locking/overriding the safe area color globally?
Has anyone encountered this issue and found a working workaround, or can the Adalo team advise on how to properly handle safe area colors in dual-theme apps?
Thanks in advance for any insights or solutions!
