QAMichaelPeng / obsidian-graphviz

Graphviz plugin for obsidian md.
MIT License
75 stars 12 forks source link

dot-rendered images transparent and shadows added #25

Open chadmiller-saq opened 4 months ago

chadmiller-saq commented 4 months ago

Dot used to write opaque white backgrounds. Normally okay until night falls.

Now, write transparent images.

This sucks because the foreground is still dark.

We instead use CSS drop-shadows to draw a text color around the alpha edges, thereby making black-on-black, actually black-over-white-on-black.

Screenshot 2024-05-20 at 09 56 16
chadmiller-saq commented 4 months ago
Screenshot 2024-05-20 at 09 57 52

Previously

chadmiller-saq commented 4 months ago

This is going to conflict with #21, but the resolution should be obvious.