From 94dfe788ff7d9aae552819644317423465a0a0cf Mon Sep 17 00:00:00 2001 From: cweijan <cweijan@163.com> Date: Fri, 8 Mar 2024 10:44:27 +0800 Subject: [PATCH] Update editor switch icon --- images/switch.svg | 1 + images/switch_light.svg | 1 + images/vditor_logo.png | Bin 2050 -> 0 bytes package.json | 4 ++-- 4 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 images/switch.svg create mode 100644 images/switch_light.svg delete mode 100644 images/vditor_logo.png diff --git a/images/switch.svg b/images/switch.svg new file mode 100644 index 0000000..6b405e4 --- /dev/null +++ b/images/switch.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><g fill="#c5c5c5" fill-rule="evenodd" clip-rule="evenodd"><path d="M3.944 11.79a.5.5 0 0 1 .141-.277L14.163 1.435a.5.5 0 0 1 .707 0l3.89 3.89a.5.5 0 0 1 0 .706L8.68 16.11a.5.5 0 0 1-.277.14l-4.595.706a.5.5 0 0 1-.57-.57zm.964.314l-.577 3.76l3.759-.578l9.609-9.608l-3.183-3.182z"/><path d="m15.472 8.173l-3.537-3.53l.707-.708l3.536 3.53z"/></g></svg> \ No newline at end of file diff --git a/images/switch_light.svg b/images/switch_light.svg new file mode 100644 index 0000000..da74fde --- /dev/null +++ b/images/switch_light.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 20 20"><g fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"><path d="M3.944 11.79a.5.5 0 0 1 .141-.277L14.163 1.435a.5.5 0 0 1 .707 0l3.89 3.89a.5.5 0 0 1 0 .706L8.68 16.11a.5.5 0 0 1-.277.14l-4.595.706a.5.5 0 0 1-.57-.57zm.964.314l-.577 3.76l3.759-.578l9.609-9.608l-3.183-3.182z"/><path d="m15.472 8.173l-3.537-3.53l.707-.708l3.536 3.53z"/></g></svg> \ No newline at end of file diff --git a/images/vditor_logo.png b/images/vditor_logo.png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Lcs9!@Vm5i@c-e)%Jf zJy&~NceJ49%G}~NyWFYnlgo|qW3Xva%?T*~g;(woljTC)!yDskAdbV8%T;NY+Pn>U z94Iml>l-=QQ}0oa#ajy|Zy`_8em@hp?1N`^2^=^7{(-5ql4Jyp<MB%~XX|FqJdo|j z4)O%I^e$-sOm&RolF#h9?ST)bUcKp~<IN78zw#<G{wDY`rqC7^G7JSgu1ocK9J;TL zu~t?4T;IwcW|>lz#82@0%((?Uvhvx$sZ(0(Q|;j+yT%0(Iji?_N1>o?&(i8t*K%t2 zRv4`xHQsIA7?yXXW>E?>9e1{5RZ(SneU%5bC)@e56CD#FWJ93RoaY{`tG^9Mr9aQ7 zLJq)n^t5htfP_cn){CDv7OyI+Oxuzpg?@Q9*7v1b%tTdS61T}e<AL($^L2S;AMf7* z`K}sEO~AA-9f;Vc&R2hM&T=|<X!gLuN}^!6p&+4fRe(wFLKGO1-`d>347WDT$y-=^ RbT2qWAdNCqQB7~$`9DOSG9&;1 diff --git a/package.json b/package.json index f962565..46c4c51 100755 --- a/package.json +++ b/package.json @@ -199,8 +199,8 @@ "command": "office.markdown.switch", "title": "Switch markdown editor", "icon": { - "dark": "./images/vditor_logo.png", - "light": "./images/vditor_logo.png" + "dark": "./images/switch.svg", + "light": "./images/switch_light.svg" } }, {