quarto-dev / quarto-dev/quarto-cli
Provide a way to tell other JS tools about light / dark mode switch
Open
@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
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.
Assessment
This issue has not been assessed yet.