rust-lang / rust-lang/rust-clippy
Website color theme: "auto" / "system preference" option
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 13.5k
- Forks
- 2.2k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 32
Description
rustdoc documentation has an option to follow the system preference for light/dark. This is useful for systems sometimes used in different ambient light environments: switching the system theme switches all websites that are in "auto" mode.
Could the rust-clippy website (https://rust-lang.github.io/rust-clippy/) have a similar "auto" / "system preference" mode, please? ❤
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 comparing the rust-clippy website linked in the issue with rustdoc's existing light/dark system-preference behavior. Trace where the website's theme is selected and make the site follow the system preference when set to auto; done means switching the system theme updates the site without manual selection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- documentation, web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100