Manage SVG Styles
The file manager for your SVG style presets
- STRING
Style presets accumulate. You create a few looks with SVG Create Style, the shipped ones are still there, and pretty soon the styles folder is a junk drawer you can't see into from the node graph. SVG Styles Manager is the cleanup and bookkeeping node for that folder - list what's there, copy a preset under a new name, delete one, or preview what a style would do. It never touches an SVG; it manages the library that the other Styler nodes read from.
Operations
- list_styles - enumerate the presets in the
stylesfolder. The "what do I even have?" button. - copy_style - duplicate the selected style_name as new_style_name. The safe way to fork a preset before tweaking it, so you don't wreck the original.
- delete_style - remove a preset file. There's no recycle bin, so this is the "are you sure" moment.
- preview_style - show what the style contains (its rules/JSON), so you can see what you're about to apply before
SVG Stylerdoes it.
Both required inputs are dropdowns: operation and style_name (enumerated from the folder, so only presets that actually exist are selectable - including your SVG Create Style output after a reload). new_style_name only matters for copy_style. Output is a single STRING: a confirmation or the preview text, not the SVG - this node is metadata, not content.
How it works
It's a thin wrapper around the styles directory: list, copy, delete, or read JSON files. That's the whole mechanism, and it's worth remembering because it means everything this node does is also doable by hand in the file system - the node just gives you a safe UI for it and keeps the pack's conventions (.json naming, the dropdown enumeration) consistent.
Install
Pack standard:
cd ComfyUI/custom_nodes
git clone https://github.com/MushroomFleet/svg-suite
pip install -r requirements.txt
Restart ComfyUI, or via Manager under "svg-suite". No special dependencies.
Where people get burned
Delete is permanent - this node doesn't move files to a trash folder, it removes them. Duplicate before you experiment, not after.
Second, the dropdown refresh problem again: the style_name list is built when the workflow loads. Create a style, and it won't be in SVG Styles Manager (or SVG Styler) until you reload. It's a mild annoyance with the whole Styler family, but it bites hardest here because this is the node you'd reach for specifically to check "did my new style save?" - and it won't show it until the reload that also makes it appear. Also note the enum samples in the schema are the shipped defaults; your actual dropdown will show whatever's in your folder, so don't be surprised if it's a superset.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| operation | COMBO | list_styles | 4 options: list_styles, copy_style, delete_style, preview_style |
| style_name | COMBO | my_custom_style.json | 6 options: my_custom_style.json, colorful_flat.json, minimalist.json, neon_glow.json, watercolor.json, blueprint.json |
| new_style_nameopt | STRING | custom_style | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| STRING | STRING | — |