11ty / 11ty/docs

Add a switch to toggle the dark/light color scheme

Open
#1,316 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Nunjucks
Stars
547
Forks
726
Avg merge
2h 23m
Merged PRs (30d)
3

Description

Loving the dark color scheme. However, I think it should be possible to switch from dark to light theme independently from OS / browser settings, in a similar fashion to this blog post by Andy Bell.

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 by locating the docs site's existing dark color-scheme styles and theme initialization; the issue names no files or tests. Use the linked blog post as the behavioral reference. Done means visitors can switch between dark and light themes independently of OS or browser settings.

Written by the indexing model from the issue text.

Assessment

Domain
frontend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.