mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 23:09:49 +02:00
#1542 Setting up base theme for custom theming
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
<h1>Showcases of diagrams</h1>
|
||||
<div class="flex flex-wrap">
|
||||
<div class="mermaid width height">
|
||||
%%{init: {'securityLevel': 'loose', 'theme':'base'}}%%
|
||||
%%{init2: {'securityLevel': 'loose', 'theme':'base'}}%%
|
||||
graph TD
|
||||
A[Christmas] -->|Get money| B(Go shopping)
|
||||
B --> C{Let me think}
|
||||
@@ -58,7 +58,7 @@
|
||||
end
|
||||
</div>
|
||||
<div class="mermaid width height">
|
||||
%%{init: {'securityLevel': 'loose', 'theme':'base'}}%%
|
||||
%%{init2: {'securityLevel': 'loose', 'theme':'base'}}%%
|
||||
flowchart TD
|
||||
A[Christmas] -->|Get money| B(Go shopping)
|
||||
B --> C{Let me think}
|
||||
@@ -75,7 +75,7 @@
|
||||
end
|
||||
</div>
|
||||
<div class="mermaid width height" >
|
||||
%%{init: {'securityLevel': 'loose', 'theme':'base'}}%%
|
||||
%%{init2: {'securityLevel': 'loose', 'theme':'base'}}%%
|
||||
|
||||
sequenceDiagram
|
||||
autonumber
|
||||
@@ -123,7 +123,7 @@ gantt
|
||||
Add another diagram to demo page :48h
|
||||
</div>
|
||||
<div class="mermaid width height2">
|
||||
%%{init: {'securityLevel': 'loose', 'theme':'base'}}%%
|
||||
%%{init2: {'securityLevel': 'loose', 'theme':'base'}}%%
|
||||
stateDiagram
|
||||
[*] --> Active
|
||||
|
||||
@@ -152,7 +152,7 @@ gantt
|
||||
|
||||
</div>
|
||||
<div class="mermaid width height2">
|
||||
%%{init: {'securityLevel': 'loose', 'theme':'base'}}%%
|
||||
%%{init2: {'securityLevel': 'loose', 'theme':'base'}}%%
|
||||
stateDiagram-v2
|
||||
[*] --> Active
|
||||
|
||||
|
Reference in New Issue
Block a user