Dsek-LTH/web

Configure dark/light mode properly

Closed this issue · 0 comments

If you are in light mode everything flashes dark when reloading. This probably has to do with ssr.
Another problem is that you can't use dark: in tailwind on first load, it seems to depend on localstorage.