quarto-dev / quarto-cli

Open-source scientific and technical publishing system built on Pandoc.
https://quarto.org
Other
3.64k stars 298 forks source link

[Feature Requests] Dark/light/small/large API for images depending on context #6060

Open mcanouil opened 1 year ago

mcanouil commented 1 year ago

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:

cscheid commented 1 year ago

It's worth mentioning that since we use bootstrap, nested divs with the right display properties probably already work.

cderv commented 1 year ago

For thematic support, I believe this should have a slight variation where it would be good that bslib have a way to support Quarto theme file , quarto to share this information with bslib - this way a tool like thematic can get access to the same theme and do its magic with graphics themes.

Agreed it is R only, but this would be awesome support for the R community. And possibly give ideas for the python community to have a thematic-like tool (if none already)