From e4e24399d97719ed1534d4bff9e4f2918abaa42b Mon Sep 17 00:00:00 2001 From: Neil Cuzon <58763315+NeilCuzon@users.noreply.github.com> Date: Tue, 28 Jul 2020 19:10:14 -0700 Subject: [PATCH] Update theming.md --- docs/theming.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/theming.md b/docs/theming.md index 83140f835..f51102bd7 100644 --- a/docs/theming.md +++ b/docs/theming.md @@ -4,10 +4,12 @@ With Version 8.7.0 Mermaid comes out with a system for dynamic and integrated setting of the diagram's theme. The objective of this is to increase the customizability of mermaid, by allowing for the customization of themes through the `%%init%%` directive and `initialize`. With it a site integrator can override a vast majority of attributes used when rendering a diagram. -Themes for all intents and purposes also follow the Levels of Configuration and employ `directives` that were introduced in Version [8.6.0](./8.6.0_docs.md). +Themes, for all intents and purposes also follow the Levels of Configuration and employ `directives` to modify configurations, as they were introduced in Version [8.6.0](./8.6.0_docs.md). -## Site-wide Themes -Examples of Initalize +## Site-wide Themes +Site-wide themes are still declared via `initialize` by site owners. + +Example of `Initalize` call: ``` mermaidAPI.initialize({ 'securityLevel': 'loose', 'theme': 'base'