diff --git a/web/src/app.html b/web/src/app.html index 10e4a9a8..41455c77 100644 --- a/web/src/app.html +++ b/web/src/app.html @@ -17,17 +17,46 @@ - - + + + + + @media (prefers-color-scheme: light) { + body { + background-color: white; + } + } + + #cobalt { + opacity: 0; + } + + #cobalt.loaded { + opacity: 1; + transition: opacity .2s ease-out; + } + + +
%sveltekit.body% diff --git a/web/src/routes/+layout.svelte b/web/src/routes/+layout.svelte index 855b99a4..3c5b2c6a 100644 --- a/web/src/routes/+layout.svelte +++ b/web/src/routes/+layout.svelte @@ -1,6 +1,7 @@