jamiebrynes7 / clair-de-lune-obsidian-theme

An obsidian.md theme inspired by the Moonlight family of themes
87 stars 19 forks source link

Mermaid extended #31

Closed mafsi closed 3 years ago

mafsi commented 4 years ago

Hi, Jamie I just stumbled on a diagram on one of my project and I had to make the diagram in mermaid and I don't see borders. So I added this code in order to border to be whiter:

.cluster rect {
  stroke: $gray-6 !important;
}

This is the diagram:

```mermaid
graph LR
S4-->S3
subgraph a [ ]
S3-->S2
subgraph b [ ]
S2-->ar1
subgraph c [ ]
ar1[[S/R1]]-->br1[[S/R1]]
end
br1-->R2
end
R2-->R3
end
R3-->R4

I'm illiterate in CSS. Maybe you can extend this to cover all types of diagrams. Thanks for your work!