Automatically set mermaid themes to match dark / light #1521
Closed
edavidaja
started this conversation in
Feature Requests
Replies: 2 comments
-
The problem is that figuring out which themes should be "dark" and which should be "light" isn't obvious. I do think what that we should have a yaml option to directly configure themes, though, that's a great idea. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Closing in favour of #1530 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions