MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
svg-color-scheme.cmake
Go to the documentation of this file.
1# Doxygen embeds an SVG via <object>, and Chrome paints an opaque canvas behind one that doesn't opt into both schemes.
2file(READ "${SVG}" CONTENTS)
3string(REPLACE "<svg " "<svg style=\"color-scheme: light dark\" " CONTENTS "${CONTENTS}")
4file(WRITE "${SVG}" "${CONTENTS}")