Dark Mode Flickering White Background on Page Reload
The issue arises when a user enables dark mode and reloads the page, resulting in a momentary white background being displayed before it reverts to the dark mode. This brief flicker can be distracting and detract from the user experience.
To address this problem, the ideal solution is to prevent the page from rendering until the necessary dark mode settings have been applied. This can be achieved by placing a minimal