theme property

String? theme

See Theme class for possible values.

  • Theme.Base : Designed to modified, as the name implies it is supposed to be used as the base for making custom themes.
  • Theme.Forest : A theme full of light greens that is easy on the eyes.
  • Theme.Dark : A theme that would go well with other dark colored elements.
  • Theme.Default : The default theme for all diagrams.
  • Theme.Neutral : The theme to be used for black and white printing Notes: To disable any pre-defined mermaid theme, set to null. TODO: setting to null did not work in my testing - tmm 4/28/22

Implementation

external String? get theme;
void theme=(String? v)

Implementation

external set theme(String? v);