An open API service indexing awesome lists of open source software.

https://github.com/devkcud/theme-test


https://github.com/devkcud/theme-test

Last synced: 22 days ago
JSON representation

Awesome Lists containing this project

README

        

test on how to remove FART from theme toggling/page reloading using:

- sveltekit
- tailwind + daisyui
- js-cookie

if you want to know how it works, check these files:

- [src/app.html](https://github.com/devkcud/theme-test/blob/main/src/app.html)
- [src/hooks.server.ts](https://github.com/devkcud/theme-test/blob/main/src/hooks.server.ts)
- [src/lib/stores/theme.ts](https://github.com/devkcud/theme-test/blob/main/src/lib/stores/theme.ts)
- [src/lib/components/ThemeToggler.svelte](https://github.com/devkcud/theme-test/blob/main/src/lib/components/ThemeToggler.svelte)