Config
Theme
default- This is the default theme for all diagrams.neutral- This theme is great for black and white documents that will be printed.dark- This theme goes well with dark-colored elements or dark-mode.forest- This theme contains shades of green.base- This is the only theme that can be modified. Use this theme as the base for customizations.
Diagram-specific Themes
%%{init: {'theme':'forest'}}%%
graph TD
a --> bExample
%%{init: {'theme':'forest'}}%%
graph TD
a --> b