Skip to content

Commit

Permalink
Customise mermaid diagram theme in DAG template (#5553) [ci skip]
Browse files Browse the repository at this point in the history

Signed-off-by: Phil Ewels <[email protected]>
  • Loading branch information
ewels authored Dec 4, 2024
1 parent 12be47e commit 54713a1
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/_static/dag.mmd
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
%%{
init: {
'theme': 'base',
'themeVariables': {
'primaryColor': '#B6ECE2',
'primaryTextColor': '#160F26',
'primaryBorderColor': '#065647',
'lineColor': '#545555',
'clusterBkg': '#BABCBD22',
'clusterBorder': '#DDDEDE',
'fontFamily': 'arial'
}
}
}%%
flowchart TB
subgraph " "
v0["Channel.fromFilePairs"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,20 @@
</head>
<body>
<pre class="mermaid" style="text-align: center;">
%%{
init: {
'theme': 'base',
'themeVariables': {
'primaryColor': '#B6ECE2',
'primaryTextColor': '#160F26',
'primaryBorderColor': '#065647',
'lineColor': '#545555',
'clusterBkg': '#BABCBD22',
'clusterBorder': '#DDDEDE',
'fontFamily': 'arial'
}
}
}%%
REPLACE_WITH_NETWORK_DATA
</pre>
<script type="module">
Expand Down

0 comments on commit 54713a1

Please sign in to comment.