- 
                Notifications
    
You must be signed in to change notification settings  - Fork 716
 
Open
Description
This theme has mermaid support. As we can check in the toha guide's mermaid post, when setting the site theme to dark, graphs are unreadable.
Describe the solution you'd like
The solution that I thought would be to set up the following:
- For site light theme: Use 
defaultmermaid theme - For site dark theme: Use 
darkmermaid theme 
Of course, there should be the option to override them.
Globally:
flowchart:
      enable: true
      services:
        # Uncomment for `mermaid` shortcode.
        mermaid:
          # For config options, see: https://mermaid-js.github.io/mermaid/#/Setup?id=configuration
          theme: default
          darkTheme: darkPer graph:
{{< mermaid align="center" >}}
%%{init: {'theme':'default', 'darkTheme':'dark'}}%%
  # your mermaid content here
{{< /mermaid >}}niltied
Metadata
Metadata
Assignees
Labels
No labels
