quarto-dev / quarto-dev/quarto-cli
Customizing position of light/dark mode toggle
Open
Nobody has claimed this yet.
dark-mode
enhancement
html
themes
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1910
Originally posted by pat-s August 16, 2022
Would be great if this would be customizable - AFAICS it is currently fixed
The toggle will automatically appear in the top right corner of your html output.
https://quarto.org/docs/output-formats/html-themes.html#dark-mode
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
Read the linked discussion and the HTML themes dark-mode documentation first to understand the current toggle behavior and requested customization. Done means HTML output can customize the toggle's position instead of always placing it in the top-right corner; the issue names no source file or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100