Skip to main content
Version: >= 1.3.0

Theme

The theme can be changed between dark and light themes by setting theme values in the configuration:

docusaurus.config.js
remarkPlugins: [[await import('mdx-mermaid'), {
theme: { light: 'neutral', dark: 'forest' }
}]],

Toggle the theme in the top right corner to change this diagrams theme between neutral and forest: