Skip to content

Commit

Permalink
#1542 Test page using directoives to switch theme
Browse files Browse the repository at this point in the history
  • Loading branch information
knsv committed Jul 17, 2020
1 parent 030b945 commit 65c2f58
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions cypress/platform/current.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
<h1>info below</h1>
<div class="flex flex-wrap">
<div class="mermaid" style="width: 50%; height: 20%;">
%%{init: {"theme": forest, "logLevel": 1 }}%%

%%{init: { 'logLevel': 0, 'theme': 'default'} }%%
graph TD
A[Christmas] -->|Get money| B(Go shopping)
B --> C{Let me think}
Expand All @@ -44,7 +43,7 @@ <h1>info below</h1>
end
</div>
<div class="mermaid" style="width: 50%; height: 20%;">
%%{init: {"theme": forest, "logLevel": 1 }}%%
%%{init: { 'logLevel': 1, 'theme': 'forest'} }%%
graph TD
A[Christmas] -->|Get money| B(Go shopping)
B --> C{Let me think}
Expand All @@ -61,7 +60,8 @@ <h1>info below</h1>
end
</div>
<div class="mermaid" style="width: 50%; height: 20%;">
%%{init: {"theme": neutral, "logLevel": 1 }}%%
%%{init: { 'logLevel': 1, 'theme': 'neutral'} }%%

graph TD
A[Christmas] -->|Get money| B(Go shopping)
B --> C{Let me think}
Expand All @@ -78,7 +78,8 @@ <h1>info below</h1>
end
</div>
<div class="mermaid" style="background: #3f3f3f; width: 50%; height: 20%;">
%%{init: {"theme": dark, "logLevel": 1 }}%%
%%{init: { 'logLevel': 1, 'theme': 'dark'} }%%

graph TD
A[Christmas] -->|Get money| B(Go shopping)
B --> C{Let me think}
Expand Down

0 comments on commit 65c2f58

Please sign in to comment.