Configure Mermaid diagram themes
masterAquamarine automatically selects the dark theme if your rustdoc theme is set to ayu or dark.
You can override the default theme on a per-diagram basis using the Mermaid %%init%% attribute within the doc comment. This is useful for ensuring specific diagrams match your documentation's visual style or for applying custom colors.
Refer to the Mermaid.js Theming documentation for a full list of available configuration options.
/// ```mermaid
/// %%{init: { 'theme': 'base', 'themeVariables': { 'primaryColor': '#ffcccc' }}}%%
/// graph TD
/// A --> B
/// ```