sveltejs / sveltejs/svelte.dev

Several tutorial pages loading in light mode sometimes instead of (my system preferred) dark mode when performing actions

Open
#1,111 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
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:

https://svelte.dev/tutorial/kit/route-groups

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.