As discussed, Quarto currently does not natively provides ways to deal with various images depending on context such as light/dark theme, or small/large screen display.

Some related work:
- JavaScript: <https://mickael.canouil.fr/posts/2023-05-30-quarto-light-dark/>
- GitHub context classes: <https://github.blog/changelog/2021-11-24-specify-theme-context-for-images-in-markdown/>
- #3263 and `thematic` R package (<https://rstudio.github.io/thematic/> 
- #5439
- <https://developer.mozilla.org/fr/docs/Web/CSS/@media/prefers-color-scheme>
cscheid
2023-06-28T20:28:56Z
mcanouil
enhancement
open
[Feature Requests] Dark/light/small/large API for images depending on context
https://github.com/quarto-dev/quarto-cli/issues/6060