Open lukaszpolowczyk opened 3 weeks ago
The page should detect the dark mode in CSS, even before the interface loads, and set a dark background during loading.
The flash happens before CSS loads.
The flash happens before CSS loads.
Not quite, this happens before any interface is loaded at all. This is the application loading stage, where only an empty HTML file is loaded, and the application with its interface is loaded afterwards.
So, a simple CSS needs to be included already on the loading screen, still in the basic skeleton of the page, in the initial HTML file (template file).
Steps to reproduce
Outcome
What did you expect?
The page should detect the dark mode in CSS, even before the interface loads, and set a dark background during loading.
Alternatively, a cookie from the server should contain information about the user's account preference from the first response from the page.
So, a simple CSS needs to be included already on the loading screen, still in the basic skeleton of the page, in the initial HTML file (template file).
What happened instead?
Of course, this is not the fault of the web browser, as Firefox has a dark blank page in dark mode.
Operating system
Arch Linux with Cinnamon and GNOME apps
Browser information
Firefox 130.0 (64 bity)
URL for webapp
app.element.io
Application version
1.11.83
Homeserver
matrix.org
Will you send logs?
No