forked from space-wizards/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathss14-mermaid.scss
50 lines (39 loc) · 1.31 KB
/
ss14-mermaid.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// These all have to be !important because Mermaid sets all of them based on ID matches, which sucks.
html {
--mermaid-sequence-actor-bg: #2d4c5a;
--mermaid-sequence-actor-stroke: #2a3355;
--mermaid-sequence-note-bg: #2d5a44;
--mermaid-sequence-note-stroke: #253d31;
--mermaid-sequence-rect-bg: #21273C;
}
// Light themes.
.light, .rust {
--mermaid-sequence-actor-bg: #cde498;
--mermaid-sequence-actor-stroke: #a6cf47;
--mermaid-sequence-note-bg: #fff5ad;
--mermaid-sequence-note-stroke: #aaaa33;
--mermaid-sequence-rect-bg: #abe5f3;
}
pre.mermaid svg[aria-roledescription="sequence"] {
defs > #arrowhead > path {
fill: var(--fg) !important;
stroke: var(--fg) !important;
}
.actor {
fill: var(--mermaid-sequence-actor-bg) !important;
stroke: var(--mermaid-sequence-actor-stroke) !important;
}
.actor > tspan, .messageText, .loopText, .loopText > tspan, .noteText > tspan {
fill: var(--fg) !important;
}
.actor-line, .messageLine0, .messageLine1, .loopLine {
stroke: var(--fg) !important;
}
.note {
fill: var(--mermaid-sequence-note-bg) !important;
stroke: var(--mermaid-sequence-note-stroke) !important;
}
.rect {
fill: var(--mermaid-sequence-rect-bg) !important;
}
}