This VS Code extension transforms SVG to use currentColor instead of specific colors.
- Right-click on an open SVG file and select "Transform using svg mana".
- Replaces intelligently fill and stroke colors with currentColor.
- Works seamlessly within VS Code.
- Open any
.svgfile in VS Code. - Right-click inside the editor.
- Click "Transform using svg mana".
- The color values in the SVG will be updated.
To install from a .vsix file:
npm run compile
vsce package
code --install-extension svg-current-color-0.0.1.vsixif vsce is not installed, run
npm install -g @vscode/vsce