mdbook-svgbob icon indicating copy to clipboard operation
mdbook-svgbob copied to clipboard

Fix svgbob diagrams in dark mode

Open hmn53 opened this issue 9 months ago • 3 comments

Closes https://github.com/boozook/mdbook-svgbob/issues/22

Currently, the SVG text elements receive the default color, black, which is not readable on dark mode.

This PR adds a one-liner CSS fix to apply the foreground css variable (var(--fg)) to the svg text element to make svg text legible and visible.

hmn53 avatar Sep 22 '23 10:09 hmn53