I’m interested to see how these variables are handled. My inclination would be to program the notifications so they sense the background and adjust accordingly, but I don’t know enough about programming to know whether this is possible.

newsonaut: news, technology and other stuff

A version of this problem is solved really well, especially on mobile. When you pay attention, you will notice that both iOS and Android detect the background and then make a determination if the home bar (the bar on the bottom of the screen to take you back to the home screen) must be "white-ish" or "black-ish"

For example: See the gesture bar in the bottom here - it's "dark" to highlight the contrast against the content background

Here's is the same gesture bar against a dark content and see how it's turned lighter

This is done super efficiently while keeping 120fps in modern phones. Now, this is the case of "one" instance. The question is how is iOS planning to do this for all liquid glass elements at 120fps and what're the boundary parameters.

Apple really killed it by delivering on this.