### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1521

<div type='discussions-op-text'>

<sup>Originally posted by **edavidaja** July 25, 2022</sup>
currently I'm using a reveal presentation with `theme: night` and adding 

`%%{init: {"theme": "dark" } }%%`
 
to each diagram. I'm not sure if this works for every diagram type--the mermaid website suggests that theming, for example, state machines has to be done via a different mechanism.</div>
cscheid
2022-07-25T18:49:35Z
cscheid
enhancement
Future
open
Automatically set mermaid themes to match dark / light
https://github.com/quarto-dev/quarto-cli/issues/1530