Describe the bug
Component BackgroundColor which covers the whole viewport to keep the background color consistent in both modes (light and dark) loads sooner than dark mode is set which appears to be the reason of a quick flash on the first page load.
To Reproduce
Steps to reproduce the behavior:
Make sure that a website was loaded at least once on your machine
Open new tab and load it in new session
Quick flash appears if going to light mode
Expected behavior
The only color that appears should be the one that current mode uses.
Describe the bug Component BackgroundColor which covers the whole viewport to keep the background color consistent in both modes (light and dark) loads sooner than dark mode is set which appears to be the reason of a quick flash on the first page load.
To Reproduce Steps to reproduce the behavior:
Expected behavior The only color that appears should be the one that current mode uses.