D2 diagrams: How to set theme? #774
-
|
It's not clear from the documentation how I set a theme for a D2 diagram. Here it says to use "the d2.theme theme parameter", but however I try to use that, I can't get it to work. I would like to set the theme in my Here are the available themes. How would I, for example, set the theme |
Beta Was this translation helpful? Give feedback.
Answered by
mfontanini
Nov 5, 2025
Replies: 1 comment 2 replies
-
|
Like the docs say, you need to use the d2:
theme: 100 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a property of the theme, not of your config. e.g. you can create your own theme or override this in each presentation like: