Closed ShaggyDude closed 1 year ago
@ShaggyDude same here need to hide the layout until completed loading.
Hi @ShaggyDude and @HackPoint
I've inlined the small code that detects and initializes Dark Mode and added it to root.tsx
. With this I think it no longer flashes.
https://github.com/onwidget/qwind/blob/main/src/root.tsx#L27
I'm still assimilating in detail how Qwik works and I know I still have a lot to do. If you have any suggestions let me know.
I have my mac set to prefer dark-mode and the site flashes white on load.