summaryrefslogtreecommitdiff
path: root/templates/palette_to_text.xml
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2022-04-10 10:10:50 +0200
committerGitHub <noreply@github.com>2022-04-10 10:10:50 +0200
commitc575aeda96d389de29389c9e6e46395e1b938244 (patch)
treee235d604bcbd7262c79a02dc255c667eb7ebe56e /templates/palette_to_text.xml
parent3780791c26cb5a61855c14685837f5513958a1b1 (diff)
palette to text (#1619)
Diffstat (limited to 'templates/palette_to_text.xml')
-rw-r--r--templates/palette_to_text.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/templates/palette_to_text.xml b/templates/palette_to_text.xml
new file mode 100644
index 00000000..42b2b6b7
--- /dev/null
+++ b/templates/palette_to_text.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
+ <name>Palette to text</name>
+ <id>org.inkstitch.palette_to_text</id>
+ <effect needs-live-preview="false">
+ <object-type>all</object-type>
+ <effects-menu>
+ <submenu name="Ink/Stitch" translatable="no">
+ <submenu name="Thread Color Management" />
+ </submenu>
+ </effects-menu>
+ </effect>
+ <param name="extension" type="string" gui-hidden="true">palette_to_text</param>
+ <param name="notebook" type="notebook">
+ <page name="options" gui-text="Options">
+ <label>Choose a .gpl color palette file to import colors as text elements.</label>
+ <param name="file" type="path" gui-text="Choose file" mode="file" filetypes="gpl"/>
+ </page>
+ <page name="info" gui-text="Help">
+ <label appearance="header">Palette to text</label>
+ <label>Import a .gpl palette into Inkscape as text elements to edit color entries.</label>
+ <separator />
+ <label>Read more on our webiste:</label>
+ <label appearance="url">https://inkstitch.org/docs/thread-color#palette-to-text</label>
+ </page>
+ </param>
+ <script>
+ {{ command_tag | safe }}
+ </script>
+</inkscape-extension>