aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Lavratti <felipelav@gmail.com>2022-09-19 01:22:52 +0100
committerFelipe Lavratti <felipelav@gmail.com>2022-09-19 16:39:35 +0100
commitf65ef6567764ef882ceda44fea775e0da7009f5f (patch)
treeb7d92fb0beca5e22037bf82a2385ace4bc78034d
parenta85ecb546b2bf2b56d1a78813cd8586cbdceaa66 (diff)
[vscode] fix file icon
-rw-r--r--editors/vscode/fileicons/odin-file.svg76
-rw-r--r--editors/vscode/fileicons/odin_file.svg13
-rw-r--r--editors/vscode/package.json26
3 files changed, 80 insertions, 35 deletions
diff --git a/editors/vscode/fileicons/odin-file.svg b/editors/vscode/fileicons/odin-file.svg
new file mode 100644
index 0000000..793c09f
--- /dev/null
+++ b/editors/vscode/fileicons/odin-file.svg
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ width="150"
+ height="150"
+ viewBox="0 0 150 150"
+ version="1.1"
+ xml:space="preserve"
+ style="clip-rule:evenodd;fill-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2"
+ id="svg21"
+ sodipodi:docname="odin-file-dark.svg"
+ inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:svg="http://www.w3.org/2000/svg"><defs
+ id="defs25"><linearGradient
+ inkscape:collect="always"
+ id="linearGradient1266"><stop
+ style="stop-color:#1061f7;stop-opacity:1;"
+ offset="0"
+ id="stop1262" /><stop
+ style="stop-color:#1061f7;stop-opacity:0;"
+ offset="1"
+ id="stop1264" /></linearGradient><linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient1266"
+ id="linearGradient1268"
+ x1="235.02269"
+ y1="1240.1374"
+ x2="1117.7737"
+ y2="1240.1374"
+ gradientUnits="userSpaceOnUse" /></defs><sodipodi:namedview
+ id="namedview23"
+ pagecolor="#505050"
+ bordercolor="#eeeeee"
+ borderopacity="1"
+ inkscape:pageshadow="0"
+ inkscape:pageopacity="0"
+ inkscape:pagecheckerboard="0"
+ showgrid="false"
+ width="143px"
+ inkscape:zoom="3.104"
+ inkscape:cx="66.204897"
+ inkscape:cy="62.016753"
+ inkscape:window-width="1765"
+ inkscape:window-height="1099"
+ inkscape:window-x="280"
+ inkscape:window-y="737"
+ inkscape:window-maximized="0"
+ inkscape:current-layer="ODIN"
+ lock-margins="false" />
+ <g
+ id="ODIN"
+ transform="matrix(1.00784,0,0,1.00784,-476.143,-714.215)">
+ <g
+ transform="matrix(0.12086872,0,0,0.12086872,479.70691,633.1206)"
+ id="g5"
+ style="stroke:#35618f;stroke-width:18.1589;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1;paint-order:normal;fill:#35618f;fill-opacity:1;stroke-linejoin:bevel;stroke-linecap:square"
+ inkscape:export-filename="/home/flplv/software/ols/editors/vscode/fileicons/x.png"
+ inkscape:export-xdpi="96"
+ inkscape:export-ydpi="96">
+ <g
+ id="O"
+ style="stroke:#35618f;stroke-width:18.1589;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1;paint-order:normal;fill:#35618f;fill-opacity:1;stroke-linejoin:bevel;stroke-linecap:square">
+ <path
+ d="m 430.516,1595.76 c -16.576,-11.38 -29.677,-22.4 -29.677,-22.4 L 827.125,835.012 c 0,0 17.547,6.508 32.041,13.457 18.27,8.757 33.403,17.294 33.403,17.294 206.631,119.3 277.541,383.917 158.241,590.547 -119.303,206.64 -383.92,277.54 -590.554,158.24 0,0 -14.473,-8.32 -29.74,-18.79 z M 856.543,928.162 496.282,1552.15 c 172.195,99.42 392.709,40.33 492.126,-131.86 99.412,-172.2 40.332,-392.71 -131.865,-492.128 z M 321.659,1487.36 c -14.487,-20.98 -19.644,-31.04 -19.644,-31.04 -74.475,-129.36 -79.937,-293.86 0.003,-432.32 79.94,-138.46 225.128,-215.977 374.397,-216.161 0,0 20.153,-0.052 36.933,1.555 25.28,2.422 42.087,5.684 42.087,5.684 L 347.771,1521.17 c 0,0 -9.671,-10.01 -26.112,-33.81 z M 633.291,882.532 c -108.638,13.203 -209.994,75.512 -268.874,177.498 -58.88,101.98 -62.162,220.91 -19.278,321.6 z"
+ style="fill:#35618f;stroke:#35618f;stroke-width:18.1589;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1;paint-order:normal;fill-opacity:1;stroke-linejoin:bevel;stroke-linecap:square"
+ id="path2" />
+ </g>
+ </g>
+
+
+
+ </g>
+</svg>
diff --git a/editors/vscode/fileicons/odin_file.svg b/editors/vscode/fileicons/odin_file.svg
deleted file mode 100644
index f628d9e..0000000
--- a/editors/vscode/fileicons/odin_file.svg
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 260 260" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
- <g transform="matrix(0.074119,0,0,0.104825,-6.73026e-13,-2.84217e-14)">
- <path d="M3507.87,248.031C3507.87,111.139 3350.69,0 3157.09,0L350.787,0C157.183,0 0,111.139 0,248.031L0,2232.28C0,2369.18 157.183,2480.32 350.787,2480.32L3157.09,2480.32C3350.69,2480.32 3507.87,2369.18 3507.87,2232.28L3507.87,248.031Z" style="fill:url(#_Radial1);"/>
- </g>
- <g transform="matrix(0.23131,0,0,0.231311,-26.4611,-156.862)">
- <path d="M430.516,1595.76C413.94,1584.38 400.839,1573.36 400.839,1573.36L827.125,835.012C827.125,835.012 844.672,841.52 859.166,848.469C877.436,857.226 892.569,865.763 892.569,865.763C1099.2,985.063 1170.11,1249.68 1050.81,1456.31C931.507,1662.95 666.89,1733.85 460.256,1614.55C460.256,1614.55 445.783,1606.23 430.516,1595.76ZM856.543,928.162L496.282,1552.15C668.477,1651.57 888.991,1592.48 988.408,1420.29C1087.82,1248.09 1028.74,1027.58 856.543,928.162ZM321.659,1487.36C307.172,1466.38 302.015,1456.32 302.015,1456.32C227.54,1326.96 222.078,1162.46 302.018,1024C381.958,885.54 527.146,808.023 676.415,807.839C676.415,807.839 696.568,807.787 713.348,809.394C738.628,811.816 755.435,815.078 755.435,815.078L347.771,1521.17C347.771,1521.17 338.1,1511.16 321.659,1487.36ZM633.291,882.532C524.653,895.735 423.297,958.044 364.417,1060.03C305.537,1162.01 302.255,1280.94 345.139,1381.63L633.291,882.532Z" style="fill:white;"/>
- </g>
- <defs>
- <radialGradient id="_Radial1" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="matrix(3507.87,0,0,2480.31,0,0)"><stop offset="0" style="stop-color:rgb(24,156,255);stop-opacity:1"/><stop offset="0.58" style="stop-color:rgb(19,142,235);stop-opacity:1"/><stop offset="0.8" style="stop-color:rgb(9,113,191);stop-opacity:1"/><stop offset="1" style="stop-color:rgb(0,84,147);stop-opacity:1"/></radialGradient>
- </defs>
-</svg>
diff --git a/editors/vscode/package.json b/editors/vscode/package.json
index c3d42bc..a17b6a6 100644
--- a/editors/vscode/package.json
+++ b/editors/vscode/package.json
@@ -86,32 +86,14 @@
}
}
},
- "icons_PROPOSED": [
- {
- "id": "odin-fileicon",
- "description": "Odin file icon",
- "default": {
- "fontId": "odin-icon-font",
- "fontCharacter": "\\E000"
- }
- }
- ],
- "iconFonts_PROPOSED": [
- {
- "id": "odin-icon-font",
- "src": [
- {
- "path": "./fileicons/odin_file.svg",
- "format": "svg"
- }
- ]
- }
- ],
"languages": [
{
"id": "odin",
"aliases": ["odin", "Odin"],
- "icon_PROPOSED": "odin-fileicon",
+ "icon": {
+ "light": "./fileicons/odin-file.svg",
+ "dark": "./fileicons/odin-file.svg"
+ },
"extensions": [
".odin"
],