Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

fix: simplify SVG structure for dark and light icons

AykutSarac40a16055bfa9
diff --git a/apps/vscode/assets/icon-dark.svg b/apps/vscode/assets/icon-dark.svg
index 2fe59c27..eee65150 100644
--- a/apps/vscode/assets/icon-dark.svg
+++ b/apps/vscode/assets/icon-dark.svg
@@ -1,11 +1,7 @@
-<svg xmlns="http://www.w3.org/2000/svg" color="#7d8590" viewBox="0 0 600 600" version="1.0">
- <defs>
- <clipPath id="a">
- <path d="M300 0C134.316 0 0 134.316 0 300s134.316 300 300 300 300-134.316 300-300S465.684 0 300 0Zm0 0"/>
- </clipPath>
- </defs>
- <g clip-path="url(#a)">
- <path fill="none" d="M300 0C134.316 0 0 134.316 0 300s134.316 300 300 300 300-134.316 300-300S465.684 0 300 0Zm0 0" stroke="currentColor" stroke-width="60"/>
- </g>
- <path d="M150.071 174.797c-.449-.218-.34-.379.328-.484.664-.113 2.438-.172 5.313-.172h70.062v98.61l-.328 98.968-1.328 5.64c-2.656 9.962-7.586 18.813-14.781 26.563-7.188 7.75-15.766 13.285-25.734 16.61-3.98 1.539-8.184 2.535-12.61 2.984-2.219.219-5.875.328-10.969.328h-47.812v-52.469h15.281l15.266-.328 3.984-1.656c4.656-2.437 8.086-6.086 10.297-10.953l1.656-3.328V182.438l-1.656-2.328c-1.773-2.656-4.094-4.426-6.969-5.313ZM380.852 172.141h5.313c10.844 0 21.36 1.496 31.547 4.484 10.187 2.993 19.484 7.368 27.89 13.125 8.414 5.75 15.723 12.836 21.922 21.25 6.196 8.407 10.735 18.04 13.61 28.891.882 3.762 1.546 6.918 1.984 9.469.445 2.543.672 4.586.672 6.125v2h-65.75l-1.328-3.328c-1.324-4.426-3.371-8.961-6.14-13.61-2.774-4.644-5.704-7.968-8.798-9.968-4.648-3.977-10.953-6.41-18.922-7.297l-2-.328Zm-14.937.328c.437-.219 1.765-.328 3.984-.328h2.313v49.813l-3.313 1.328c-6.418 2.437-12.172 6.922-17.265 13.453-5.094 6.531-9.188 14.777-12.282 24.734-1.773 5.531-2.992 11.899-3.656 19.094-.668 7.2-.777 15-.328 23.406.219 5.313.77 11.403 1.656 18.266a122.09 122.09 0 0 0 4.313 20.094c1.988 6.53 4.695 12.511 8.125 17.937 3.437 5.418 7.922 9.453 13.453 12.11a31.7 31.7 0 0 0 3.484 1.171c1.219.325 2.383.711 3.5 1.157l2.985.656v50.484l-5.313-.344c-30.105-1.773-53.683-11.12-70.734-28.046-17.043-16.938-27.559-39.688-31.547-68.25-.219-2.207-.438-4.973-.656-8.297-.22-3.32-.329-7.414-.329-12.282-.449-9.968-.449-17.492 0-22.578 2.875-30.55 12.942-55.843 30.204-75.875 17.27-20.039 41.07-32.61 71.406-37.703Zm51.14 169.688.985-2.328h33.875c22.351-.438 33.531-.32 33.531.343 0 .438-.328 2.871-.984 7.297-2.219 12.399-6.153 23.414-11.797 33.047-5.649 9.625-12.68 17.758-21.094 24.39-8.406 6.645-17.98 11.739-28.719 15.282-10.73 3.539-22.293 5.426-34.687 5.656l-7.313.328V376.36l2.657-.328c8.632-1.102 15.609-4.094 20.921-8.97 5.977-6.194 10.188-14.5 12.625-24.905Zm0 0" fill="currentColor"/>
-</svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" color="#7d8590" viewBox="0 0 600 600" fill="none">
+ <path d="M240 300 C 320 300, 320 160, 400 160" stroke="currentColor" stroke-width="50" stroke-linecap="round"/>
+ <path d="M240 300 C 320 300, 320 440, 400 440" stroke="currentColor" stroke-width="50" stroke-linecap="round"/>
+ <rect x="60" y="220" width="180" height="160" rx="32" fill="currentColor"/>
+ <rect x="400" y="80" width="160" height="160" rx="32" fill="currentColor"/>
+ <rect x="400" y="360" width="160" height="160" rx="32" fill="currentColor"/>
+</svg>
diff --git a/apps/vscode/assets/icon-light.svg b/apps/vscode/assets/icon-light.svg
index 91d4cca1..1a00f242 100644
--- a/apps/vscode/assets/icon-light.svg
+++ b/apps/vscode/assets/icon-light.svg
@@ -1,11 +1,7 @@
-<svg xmlns="http://www.w3.org/2000/svg" color="#424242" viewBox="0 0 600 600" version="1.0">
- <defs>
- <clipPath id="a">
- <path d="M300 0C134.316 0 0 134.316 0 300s134.316 300 300 300 300-134.316 300-300S465.684 0 300 0Zm0 0"/>
- </clipPath>
- </defs>
- <g clip-path="url(#a)">
- <path fill="none" d="M300 0C134.316 0 0 134.316 0 300s134.316 300 300 300 300-134.316 300-300S465.684 0 300 0Zm0 0" stroke="currentColor" stroke-width="60"/>
- </g>
- <path d="M150.071 174.797c-.449-.218-.34-.379.328-.484.664-.113 2.438-.172 5.313-.172h70.062v98.61l-.328 98.968-1.328 5.64c-2.656 9.962-7.586 18.813-14.781 26.563-7.188 7.75-15.766 13.285-25.734 16.61-3.98 1.539-8.184 2.535-12.61 2.984-2.219.219-5.875.328-10.969.328h-47.812v-52.469h15.281l15.266-.328 3.984-1.656c4.656-2.437 8.086-6.086 10.297-10.953l1.656-3.328V182.438l-1.656-2.328c-1.773-2.656-4.094-4.426-6.969-5.313ZM380.852 172.141h5.313c10.844 0 21.36 1.496 31.547 4.484 10.187 2.993 19.484 7.368 27.89 13.125 8.414 5.75 15.723 12.836 21.922 21.25 6.196 8.407 10.735 18.04 13.61 28.891.882 3.762 1.546 6.918 1.984 9.469.445 2.543.672 4.586.672 6.125v2h-65.75l-1.328-3.328c-1.324-4.426-3.371-8.961-6.14-13.61-2.774-4.644-5.704-7.968-8.798-9.968-4.648-3.977-10.953-6.41-18.922-7.297l-2-.328Zm-14.937.328c.437-.219 1.765-.328 3.984-.328h2.313v49.813l-3.313 1.328c-6.418 2.437-12.172 6.922-17.265 13.453-5.094 6.531-9.188 14.777-12.282 24.734-1.773 5.531-2.992 11.899-3.656 19.094-.668 7.2-.777 15-.328 23.406.219 5.313.77 11.403 1.656 18.266a122.09 122.09 0 0 0 4.313 20.094c1.988 6.53 4.695 12.511 8.125 17.937 3.437 5.418 7.922 9.453 13.453 12.11a31.7 31.7 0 0 0 3.484 1.171c1.219.325 2.383.711 3.5 1.157l2.985.656v50.484l-5.313-.344c-30.105-1.773-53.683-11.12-70.734-28.046-17.043-16.938-27.559-39.688-31.547-68.25-.219-2.207-.438-4.973-.656-8.297-.22-3.32-.329-7.414-.329-12.282-.449-9.968-.449-17.492 0-22.578 2.875-30.55 12.942-55.843 30.204-75.875 17.27-20.039 41.07-32.61 71.406-37.703Zm51.14 169.688.985-2.328h33.875c22.351-.438 33.531-.32 33.531.343 0 .438-.328 2.871-.984 7.297-2.219 12.399-6.153 23.414-11.797 33.047-5.649 9.625-12.68 17.758-21.094 24.39-8.406 6.645-17.98 11.739-28.719 15.282-10.73 3.539-22.293 5.426-34.687 5.656l-7.313.328V376.36l2.657-.328c8.632-1.102 15.609-4.094 20.921-8.97 5.977-6.194 10.188-14.5 12.625-24.905Zm0 0" fill="currentColor"/>
-</svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" color="#424242" viewBox="0 0 600 600" fill="none">
+ <path d="M240 300 C 320 300, 320 160, 400 160" stroke="currentColor" stroke-width="50" stroke-linecap="round"/>
+ <path d="M240 300 C 320 300, 320 440, 400 440" stroke="currentColor" stroke-width="50" stroke-linecap="round"/>
+ <rect x="60" y="220" width="180" height="160" rx="32" fill="currentColor"/>
+ <rect x="400" y="80" width="160" height="160" rx="32" fill="currentColor"/>
+ <rect x="400" y="360" width="160" height="160" rx="32" fill="currentColor"/>
+</svg>