quarto-dev / quarto-dev/quarto-cli

Customizing position of light/dark mode toggle

Open
#1,918 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.