| 74 | } |
| 75 | |
| 76 | QString recoloredSvgToThemeFile(const QString &resourcePath, |
| 77 | const QColor &color, // #f0f (magenta) |
| 78 | const QString &themeName, |
| 79 | const RecolorOptions &options) |
| 80 | { |
| 81 | auto svg = readSvg(resourcePath); |
| 82 | |
| 83 | recolorSvgXML(svg, "#f0f", color); |
| 84 | |
| 85 | return writeSvg(svg, resourcePath, themeName, options); |
| 86 | } |
| 87 | |
| 88 | QString recoloredSvgToThemeFile(const QString &resourcePath, |
| 89 | const QColor &color1, // #f0f (magenta) |
no test coverage detected