kit
kit copied to clipboard
Error in dark mode handling in tutorial
Describe the bug
The tutorial changes the from dark to light mode unexpectedly.
Reproduction
- goto https://learn.svelte.dev/tutorial/named-form-actions
- toggle dark mode
- click "Solve"
- remove the first todo "Learn SvelteKit"
- the tutorial output (not the rest of the page) changes to light mode
Logs
No response
System Info
Chrome, Firefox
Severity
annoyance
Additional Information
No response
This seems to happen when the use:enhance
is not used, and the form submission is handled by the browser.
Also happens in sveltelab.dev