diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/apply_palette.xml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/templates/apply_palette.xml b/templates/apply_palette.xml new file mode 100644 index 00000000..f315916c --- /dev/null +++ b/templates/apply_palette.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension"> + <name>Apply Palette</name> + <id>org.{{ id_inkstitch }}.apply_palette</id> + <param name="extension" type="string" gui-hidden="true">apply_palette</param> + <param name="tabs" type="notebook"> + <page name="options" gui-text="Options"> + <param name="palette" type="optiongroup" appearance="combo" gui-text="Select color palette"> + {%- for item in threadcatalog %} + <item value="{{ item }}">{{ item }}</item> + {%- endfor %} + </param> + </page> + <page name="info" gui-text="Help"> + <label>This extension applies nearest colors from chosen color palette to the elements in this document.</label> + <spacer /> + <label>Get more information on our website</label> + <label appearance="url">https://inkstitch.org/docs/thread-color/#apply-palette</label> + </page> + </param> + <effect> + <object-type>all</object-type> + <effects-menu> + <submenu name="{{ menu_inkstitch }}" translatable="no"> + <submenu name="Thread Color Management" /> + </submenu> + </effects-menu> + </effect> + <script> + {{ command_tag | safe }} + </script> +</inkscape-extension> |
