How to Prepare an SVG file
Standard SVG preparation is as follows:
- Auto-format
- In the
<svg>tag, remove everything exceptversionandviewbox.- Add
preserveAspectRatio="xMinYMin meet" class="svg-content"
- Add
- Replace the colors with the following as appropriate
var(--ifm-font-color-base)var(--ifm-background-color)
- Replace the fonts with the following as appropriate
var(--ifm-font-size-base)/var(--ifm-line-height-base) var(--ifm-font-family-base)var(--ifm-font-family-monospace)