sveltejs / sveltejs/svelte.dev
Several tutorial pages loading in light mode sometimes instead of (my system preferred) dark mode when performing actions
Nobody has claimed this yet.
- Dominant language
- Svelte
- Stars
- 330
- Forks
- 278
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 29
Description
I'm following along learning Svelte but it's a bit disconcerting that something as important as theming doesn't seem to be working properly in your educational course. I don't want my websites switching themes unpredictably. This bug has happened on numerous pages, I decided to report it on the latest one it's happened on. I'm going to assume it's something wrong with the tutorial rather than Svelte. It happened when I clicked the login button here:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at https://svelte.dev/tutorial/kit/route-groups and reproduce the issue with the system preference set to dark, then click the login button. Compare the theme behavior across the tutorial pages mentioned and determine where the light mode appears. Done means tutorial actions consistently preserve the system-preferred dark theme.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100