perf: drop lottie, remove splash, fix theme flash

Bundle goes from 337 kB to 52 kB, or 89 kB to 20 kB gzipped. Almost all of
it was lottie-web, imported at the top level to draw one decorative empty
state, so every visitor paid 305 kB whether they ever saw it or not. It's
an inline SVG now, and it respects prefers-reduced-motion.

The 500ms splash is gone. There was no async work behind it.

Dark mode is applied by a small script in the head before first paint, so
dark-mode users stop getting a white flash on load. The theme class moves
to <html>, and App.svelte reads its initial state from that class instead
of re-reading storage after mount.

publicDir moves from assets/ to public/, which stops shipping the 200 kB
README screenshot to everyone.
This commit is contained in:
Aculix Technologies
2026-08-16 00:02:30 +05:30
parent 4857f1cc26
commit 756b4254b4
9 changed files with 79 additions and 124 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 195 KiB