Skip to content

Commit

Permalink
Update theming.md
Browse files Browse the repository at this point in the history
  • Loading branch information
NeilCuzon authored Jul 29, 2020
1 parent 8f9d132 commit e4e2439
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/theming.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit e4e2439

Please sign in to comment.