Add dark mode for the docs
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Dark mode should be added, both to be set explicitly (toggle/switch button), and depending on system preferences (using [prefers-color-scheme](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme))
[This approach](https://github.com/googlechromelabs/dark-mode-toggle) looks easy and promising. Some ideas can also be found [here](https://github.com/vuejs/vuepress/issues/1865). The looks and behaviour can be just as simple as implemented [here](https://fyodor.io) ([source](https://github.com/fyodorio/fyodorio-is-gridsome)).
Contributor guide
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 by reviewing the linked dark-mode-toggle approach, the VuePress discussion, and the example site's source, then locate the documentation site's theme entry point. Done means the docs support an explicit toggle and follow prefers-color-scheme system preferences with the simple behavior described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100