SVG markup string
Optionalfg: stringForeground color (applied to elements with data-fg attribute)
Optionalbg: stringBackground color (applied to elements with data-bg attribute)
Optionalopts: { debug?: boolean }Modified SVG string with injected styles
Apply foreground and background colors to SVG elements with data-fg/data-bg attributes
Injects CSS rules to style elements marked with
data-fgordata-bgattributes.