You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ma...@apache.org on 2023/10/04 19:19:28 UTC

[camel-karavan] 02/02: Fix #927

This is an automated email from the ASF dual-hosted git repository.

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git

commit f5192aea56db6a6736c9e1352af93b435d9c7a62
Author: Marat Gubaidullin <ma...@talismancloud.io>
AuthorDate: Wed Oct 4 15:19:12 2023 -0400

    Fix #927
---
 karavan-vscode/icons/dark/rocket.svg  | 69 ----------------------------
 karavan-vscode/icons/dark/wand.svg    | 85 -----------------------------------
 karavan-vscode/icons/light/rocket.svg |  1 -
 karavan-vscode/icons/light/wand.svg   |  1 -
 karavan-vscode/package.json           | 10 +----
 5 files changed, 2 insertions(+), 164 deletions(-)

diff --git a/karavan-vscode/icons/dark/rocket.svg b/karavan-vscode/icons/dark/rocket.svg
deleted file mode 100644
index c2d6a737..00000000
--- a/karavan-vscode/icons/dark/rocket.svg
+++ /dev/null
@@ -1,69 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<svg
-   width="32px"
-   height="32px"
-   viewBox="0 0 32 32"
-   id="icon"
-   version="1.1"
-   sodipodi:docname="rocket-svgrepo-com.svg"
-   inkscape:version="1.1.2 (b8e25be8, 2022-02-05)"
-   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
-   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
-   xmlns="http://www.w3.org/2000/svg"
-   xmlns:svg="http://www.w3.org/2000/svg"
-   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-   xmlns:cc="http://creativecommons.org/ns#"
-   xmlns:dc="http://purl.org/dc/elements/1.1/">
-  <sodipodi:namedview
-     id="namedview836"
-     pagecolor="#ffffff"
-     bordercolor="#666666"
-     borderopacity="1.0"
-     inkscape:pageshadow="2"
-     inkscape:pageopacity="0.0"
-     inkscape:pagecheckerboard="0"
-     showgrid="false"
-     inkscape:zoom="22.46875"
-     inkscape:cx="0.89012517"
-     inkscape:cy="16.534075"
-     inkscape:window-width="2049"
-     inkscape:window-height="969"
-     inkscape:window-x="78"
-     inkscape:window-y="25"
-     inkscape:window-maximized="0"
-     inkscape:current-layer="icon" />
-  <defs
-     id="defs826">
-    <style
-       id="style824">.cls-1{fill:none;}</style>
-  </defs>
-  <title
-     id="title828">rocket</title>
-  <rect
-     x="6.34"
-     y="19"
-     width="11.31"
-     height="2"
-     transform="translate(-10.63 14.34) rotate(-45)"
-     id="rect830"
-     style="fill:#c5c5c5;fill-opacity:1" />
-  <path
-     d="M17,30a1,1,0,0,1-.37-.07,1,1,0,0,1-.62-.79l-1-7,2-.28.75,5.27L21,24.52V17a1,1,0,0,1,.29-.71l4.07-4.07A8.94,8.94,0,0,0,28,5.86V4H26.14a8.94,8.94,0,0,0-6.36,2.64l-4.07,4.07A1,1,0,0,1,15,11H7.48L4.87,14.26l5.27.75-.28,2-7-1a1,1,0,0,1-.79-.62,1,1,0,0,1,.15-1l4-5A1,1,0,0,1,7,9h7.59l3.77-3.78A10.92,10.92,0,0,1,26.14,2H28a2,2,0,0,1,2,2V5.86a10.92,10.92,0,0,1-3.22,7.78L23,17.41V25a1,1,0,0,1-.38.78l-5,4A1,1,0,0,1,17,30Z"
-     id="path832"
-     style="fill:#c5c5c5;fill-opacity:1" />
-  <rect
-     id="_Transparent_Rectangle_"
-     data-name="&lt;Transparent Rectangle&gt;"
-     class="cls-1"
-     width="32"
-     height="32" />
-  <metadata
-     id="metadata918">
-    <rdf:RDF>
-      <cc:Work
-         rdf:about="">
-        <dc:title>rocket</dc:title>
-      </cc:Work>
-    </rdf:RDF>
-  </metadata>
-</svg>
diff --git a/karavan-vscode/icons/dark/wand.svg b/karavan-vscode/icons/dark/wand.svg
deleted file mode 100644
index 699be396..00000000
--- a/karavan-vscode/icons/dark/wand.svg
+++ /dev/null
@@ -1,85 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<svg
-   width="32px"
-   height="32px"
-   viewBox="0 0 32 32"
-   id="icon"
-   version="1.1"
-   sodipodi:docname="wand.svg"
-   inkscape:version="1.1.2 (b8e25be8, 2022-02-05)"
-   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
-   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
-   xmlns="http://www.w3.org/2000/svg"
-   xmlns:svg="http://www.w3.org/2000/svg"
-   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-   xmlns:cc="http://creativecommons.org/ns#"
-   xmlns:dc="http://purl.org/dc/elements/1.1/">
-  <sodipodi:namedview
-     id="namedview840"
-     pagecolor="#ffffff"
-     bordercolor="#666666"
-     borderopacity="1.0"
-     inkscape:pageshadow="2"
-     inkscape:pageopacity="0.0"
-     inkscape:pagecheckerboard="0"
-     showgrid="false"
-     inkscape:zoom="22.46875"
-     inkscape:cx="9.8581363"
-     inkscape:cy="16.534075"
-     inkscape:window-width="2077"
-     inkscape:window-height="969"
-     inkscape:window-x="74"
-     inkscape:window-y="25"
-     inkscape:window-maximized="0"
-     inkscape:current-layer="icon" />
-  <defs
-     id="defs826">
-    <style
-       id="style824">.cls-1{fill:none;}</style>
-  </defs>
-  <title
-     id="title828">magic-wand</title>
-  <path
-     d="M29.4141,24,12,6.5859a2.0476,2.0476,0,0,0-2.8281,0l-2.586,2.586a2.0021,2.0021,0,0,0,0,2.8281L23.999,29.4141a2.0024,2.0024,0,0,0,2.8281,0l2.587-2.5865a1.9993,1.9993,0,0,0,0-2.8281ZM8,10.5859,10.5859,8l5,5-2.5866,2.5869-5-5ZM25.4131,28l-11-10.999L17,14.4141l11,11Z"
-     id="path830"
-     style="fill:#c5c5c5;fill-opacity:1" />
-  <rect
-     x="2.5858"
-     y="14.5858"
-     width="2.8284"
-     height="2.8284"
-     transform="translate(-10.1421 7.5147) rotate(-45)"
-     id="rect832"
-     style="fill:#c5c5c5;fill-opacity:1" />
-  <rect
-     x="14.5858"
-     y="2.5858"
-     width="2.8284"
-     height="2.8284"
-     transform="translate(1.8579 12.4853) rotate(-45)"
-     id="rect834"
-     style="fill:#c5c5c5;fill-opacity:1" />
-  <rect
-     x="2.5858"
-     y="2.5858"
-     width="2.8284"
-     height="2.8284"
-     transform="translate(-1.6569 4) rotate(-45)"
-     id="rect836"
-     style="fill:#c5c5c5;fill-opacity:1" />
-  <rect
-     id="_Transparent_Rectangle_"
-     data-name="&lt;Transparent Rectangle&gt;"
-     class="cls-1"
-     width="32"
-     height="32" />
-  <metadata
-     id="metadata922">
-    <rdf:RDF>
-      <cc:Work
-         rdf:about="">
-        <dc:title>magic-wand</dc:title>
-      </cc:Work>
-    </rdf:RDF>
-  </metadata>
-</svg>
diff --git a/karavan-vscode/icons/light/rocket.svg b/karavan-vscode/icons/light/rocket.svg
deleted file mode 100644
index 2d3b0221..00000000
--- a/karavan-vscode/icons/light/rocket.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg width="32px" height="32px" viewBox="0 0 32 32" id="icon" xmlns="http://www.w3.org/2000/svg"><defs><style>.cls-1{fill:none;}</style></defs><title>rocket</title><rect x="6.34" y="19" width="11.31" height="2" transform="translate(-10.63 14.34) rotate(-45)"/><path d="M17,30a1,1,0,0,1-.37-.07,1,1,0,0,1-.62-.79l-1-7,2-.28.75,5.27L21,24.52V17a1,1,0,0,1,.29-.71l4.07-4.07A8.94,8.94,0,0,0,28,5.86V4H26.14a8.94,8.94,0,0,0-6.36,2.64l-4.07,4.07A1,1,0,0,1,15,11H7.48L4.87,14.26l5.27.75-.28,2-7-1a1, [...]
\ No newline at end of file
diff --git a/karavan-vscode/icons/light/wand.svg b/karavan-vscode/icons/light/wand.svg
deleted file mode 100644
index 2afc8394..00000000
--- a/karavan-vscode/icons/light/wand.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg width="32px" height="32px" viewBox="0 0 32 32" id="icon" xmlns="http://www.w3.org/2000/svg"><defs><style>.cls-1{fill:none;}</style></defs><title>magic-wand--filled</title><path d="M29.4141,24,12,6.5859a2.0476,2.0476,0,0,0-2.8281,0l-2.586,2.586a2.0021,2.0021,0,0,0,0,2.8281L23.999,29.4141a2.0024,2.0024,0,0,0,2.8281,0l2.587-2.5865a1.9993,1.9993,0,0,0,0-2.8281ZM8,10.5859,10.5859,8l5,5-2.5866,2.5869-5-5Z"/><rect x="2.5858" y="14.5858" width="2.8284" height="2.8284" transform="translate(- [...]
\ No newline at end of file
diff --git a/karavan-vscode/package.json b/karavan-vscode/package.json
index 7dbe0d7c..a9d8cfa8 100644
--- a/karavan-vscode/package.json
+++ b/karavan-vscode/package.json
@@ -470,10 +470,7 @@
       {
         "command": "karavan.open",
         "title": "Karavan: Open",
-        "icon": {
-          "light": "./icons/light/wand.svg",
-          "dark": "./icons/dark/wand.svg"
-        }
+        "icon": "$(wand)"
       },
       {
         "command": "karavan.open-file",
@@ -482,10 +479,7 @@
       {
         "command": "karavan.run-project-jbang",
         "title": "Karavan: JBang run",
-        "icon": {
-          "light": "./icons/light/rocket.svg",
-          "dark": "./icons/dark/rocket.svg"
-        }
+        "icon": "$(rocket)"
       },
       {
         "command": "karavan.run-project-runtime",