Skip to content

How to dynamically change the color of plots upon changing theme in a quatro html document? #12668

Discussion options

You must be logged in to vote

Hi @JacobHamelMottiez, yes this is a brand-new feature in 1.7, released this week.

You can read about the renderings feature here:

https://quarto.org/docs/computations/execution-options.html#cell-renderings

There will be helper functions for Python and R, via the quarto-python and quarto-r packages, available soon.

Until then, you can look at these examples:

https://github.com/gordonwoodhull/quarto-light-dark-experiments/tree/main/dark-brand

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JacobHamelMottiez
Comment options

Answer selected by cderv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
figures computations themes Related to HTML theming or any other style related issue (like highlight-style)
2 participants