book icon indicating copy to clipboard operation
book copied to clipboard

Adapt SVGs to book theme

Open ericthelemur opened this issue 2 years ago • 2 comments

This issue has been discussed in #74, and I've described my approach there. The idea is to #include the SVGs (avoiding Markdown formatting) and use existing CSS variables to match the theme.

This will fall back to the original black and white if the CSS variables are unavailable.

Example in context:

ericthelemur avatar Jul 24 '22 22:07 ericthelemur

@ericthelemur Any progress on this?

wasd96040501 avatar Sep 04 '23 12:09 wasd96040501

I haven't looked at this for a while now, but I think it's still correct and complete. This solution has continued to worked well on my own mdbook. The only downside is having to inline svgs.

I'll rebase it to current and check it is still valid

ericthelemur avatar Sep 05 '23 11:09 ericthelemur