quarto-dev / quarto-dev/quarto-cli

Provide a way to tell other JS tools about light / dark mode switch

Open
#8,054 3 comments 1 reaction 1 assignee View on GitHub

@cscheid is already working on this.

Since Jun 17, 2024.

dark-mode enhancement themes
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

This comes from https://community.rstudio.com/t/adapting-mastodon-widget-to-respond-to-dark-mode-toggle/178353 and https://github.com/forwards/forwards.github.io/issues/5

Some JS library have dark / light theme that could sync with Quarto dark mode. Maybe adding an event that could be listened would be a way to allow those JS library to sync there change theme.

Just an idea that would allow more customisation from users.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.