diff --git a/images/icon-black.png b/images/icon-black.png index 5fe0aaf..9ac5009 100644 Binary files a/images/icon-black.png and b/images/icon-black.png differ diff --git a/images/icon-white.png b/images/icon-white.png index 1f597b8..3ca7914 100644 Binary files a/images/icon-white.png and b/images/icon-white.png differ diff --git a/resources/icon.ico b/resources/icon.ico index d0f4b0a..ddd209e 100644 Binary files a/resources/icon.ico and b/resources/icon.ico differ diff --git a/resources/icon.png b/resources/icon.png index 3ac83fa..4da520e 100644 Binary files a/resources/icon.png and b/resources/icon.png differ diff --git a/resources/iconTemplate.png b/resources/iconTemplate.png index a91675a..7b685e5 100644 Binary files a/resources/iconTemplate.png and b/resources/iconTemplate.png differ diff --git a/resources/icon_blue.ico b/resources/icon_blue.ico index 29f2689..d998f59 100644 Binary files a/resources/icon_blue.ico and b/resources/icon_blue.ico differ diff --git a/resources/icon_blue.png b/resources/icon_blue.png index 65871ea..b8eacce 100644 Binary files a/resources/icon_blue.png and b/resources/icon_blue.png differ diff --git a/resources/icon_green.ico b/resources/icon_green.ico index 4273d68..17c92b0 100644 Binary files a/resources/icon_green.ico and b/resources/icon_green.ico differ diff --git a/resources/icon_green.png b/resources/icon_green.png index 2e7985b..581aa3b 100644 Binary files a/resources/icon_green.png and b/resources/icon_green.png differ diff --git a/resources/icon_red.ico b/resources/icon_red.ico index 2801310..cb1d56c 100644 Binary files a/resources/icon_red.ico and b/resources/icon_red.ico differ diff --git a/resources/icon_red.png b/resources/icon_red.png index 6a7e708..31599d7 100644 Binary files a/resources/icon_red.png and b/resources/icon_red.png differ diff --git a/resources/subStoreIcon.png b/resources/subStoreIcon.png index 9d9ac3f..89f16c7 100644 Binary files a/resources/subStoreIcon.png and b/resources/subStoreIcon.png differ diff --git a/src/renderer/src/components/base/mihomo-icon.tsx b/src/renderer/src/components/base/mihomo-icon.tsx index 2693168..1d254fe 100644 --- a/src/renderer/src/components/base/mihomo-icon.tsx +++ b/src/renderer/src/components/base/mihomo-icon.tsx @@ -1,70 +1,30 @@ -import React from 'react' -import { GenIcon } from 'react-icons' - -function MihomoIcon(props: any): React.JSX.Element { - return GenIcon({ - tag: 'svg', - attr: { viewBox: '0 0 128 128' }, - child: [ - { - tag: 'g', - attr: { - transform: 'matrix(-1, 0, 0, 1, 127.931404, 0)' - }, - child: [ - { - tag: 'path', - attr: { - d: 'm121.3 103.3-22.3-99.3-4.3 4.3c-3.7 3.7-8.6 5.7-13.7 5.7s-10-2-13.7-5.7l-4.3-4.3-22.3 99.3c-1 4.3-.2 8.5 1.7 12l-26.9-6.4c-4.8-1.1-9.4 2.6-9.4 7.5 0 4.3 3.5 7.7 7.7 7.7h91c10.8-.1 18.9-10.2 16.5-20.8z', - fill: '#fff', - strokeWidth: '6' - }, - child: [] - }, - { - tag: 'circle', - attr: { - cx: '71', - cy: '34', - fill: '#444b54', - r: '3', - strokeWidth: '6' - }, - child: [] - }, - { - tag: 'circle', - attr: { - cx: '91', - cy: '34', - fill: '#444b54', - r: '3', - strokeWidth: '6' - }, - child: [] - }, - { - tag: 'path', - attr: { - d: 'm124.3 102.6-22.4-99.3c-.2-1.1-1-1.9-2.1-2.2-1-.3-2.2 0-3 .8l-4.3 4.3c-3 3.1-7.1 4.8-11.5 4.8s-8.5-1.7-11.6-4.8l-4.3-4.3c-.8-.8-1.9-1.1-3-.8s-1.9 1.2-2.1 2.2l-22.3 99.3c-1.3 5.9.1 12.1 3.9 16.8.4.5.9 1 1.4 1.5h-29.3c-2.6 0-4.7-2.1-4.7-4.7 0-1.4.6-2.8 1.8-3.7 1.1-.9 2.6-1.2 4-.9l11.9 2.8c1.6.4 3.2-.6 3.6-2.2s-.6-3.2-2.2-3.6l-11.9-2.8c-3.2-.7-6.5 0-9.1 2.1-2.6 2-4 5.1-4 8.4 0 5.9 4.8 10.7 10.7 10.7h43.5.1 1.6c1.7 0 3-1.3 3-3s-1.3-3-3-3h-1.7c-4.3 0-8.3-1.9-11-5.3-2.7-3.3-3.6-7.6-2.7-11.8l21.1-94 .4.4c4.3 4.4 9.9 6.7 15.9 6.7s11.6-2.3 15.8-6.6l.5-.4 21.2 94c.9 4.1 0 8.4-2.7 11.8s-6.7 5.3-11 5.3h-.8c-1.7 0-3 1.3-3 3s1.3 3 3 3h.8c6.1 0 11.8-2.7 15.7-7.5 3.8-4.9 5.2-11 3.8-17z', - fill: '#444b54', - strokeWidth: '6' - }, - child: [] - }, - { - tag: 'path', - attr: { - d: 'm102.6 71.1c-1.6-.3-3.2.7-3.5 2.4l-9 45.1c-.3 1.5-1.5 2.5-3 2.5-1.7 0-3-1.3-3-3v-34.1c0-1.7-1.3-3-3-3s-3 1.3-3 3v34c0 1.6-1.4 3-3.1 3h-1c-1.5 0-2.7-1-3-2.5l-9.1-45.1c-.3-1.6-1.9-2.7-3.5-2.3-1.6.3-2.7 1.9-2.3 3.5l9.1 45c.7 4.3 4.5 7.4 8.9 7.4h1c2.3 0 4.5-.9 6.1-2.3 1.6 1.4 3.7 2.3 6 2.3 4.3 0 7.9-3 8.8-7.3l9-45.1c.3-1.6-.8-3.2-2.4-3.5z', - fill: '#444b54', - strokeWidth: '6' - }, - child: [] - } - ] - } - ] - })(props) -} - -export default MihomoIcon +const SVGComponent = (props) => ( + + + + + + + + + +); +export default SVGComponent;