Quarto Q&A: How to have images for both light and dark theme? #113
Replies: 2 comments 4 replies
-
Hey! I found that this works great. I have one problem, however, on toggle the .dark files don't appear (broken image). I tried adding the .dark files to my notebooks (at the end) and it works when I do that. But when I use ways to hide that markdown cell in which I do the .dark imports, I have the same issue. Any way to get around this? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Thanks for posting this - I am sure it has saved a lot of people a lot of time. The only thing I can't get to work is changing the colour of geom_text objects using the theme - I have experimented with geom.text (didn't work) and strip.text to set the colour, but to no avail. Any suggestions? |
Beta Was this translation helpful? Give feedback.
-
MCU - Quarto Q&A: How to have images for both light and dark theme?
In this blog post of the “Quarto Q&A” series you will learn how to generate images for light and dark theme using knitr and switch between them when changing theme.
https://mickael.canouil.fr/posts/2023-05-30-quarto-light-dark/
Beta Was this translation helpful? Give feedback.
All reactions