Dreaded white flash returns

The brief white flash before the page turns dark issue has returned after being fixed in January.
Same as before; only happens when a new tab is opened or an old tab is loaded after being idle or the browser reopened.

Here’s the original thread:

This is happening with Brave using dark theme and night mode.

Also a lot of sites aren’t working with night theme anymore such as Amazon and Google.

How can this issue be reproduced?

  1. Enable night theme
  2. Open new tab or idle tabs
  3. See if page flashes white before going dark

Expected result:
Page should load dark before assets are loaded.

Brave Version( check About Brave):
1.78.1 (104) and 1.80 (100)

Mobile Device details
iPhone 14 Pro, iOS 18.5

@Wiley thanks for reporting, taking a look!