Change the icon of home and all tools in ToolsFramework #33

Merged
FatttSnake merged 1 commits from FatttSnake into dev 2023-10-14 18:52:56 +08:00
2 changed files with 3 additions and 2 deletions

1
src/assets/svg/tool.svg Normal file
View File

@@ -0,0 +1 @@
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1026 1024"><path d="M942.622517 803.602649c-10.172185-20.344371-30.516556-33.907285-54.251656-33.907285h-30.516556l-250.913908-250.913907 20.344371-20.344371c10.172185-10.172185 13.562914-20.344371 13.562914-33.907285s-3.390728-23.735099-13.562914-33.907284c-27.125828-27.125828-50.860927-40.688742-74.596026-50.860928-20.344371-6.781457-37.298013-20.344371-44.07947-40.688741-10.172185-27.125828-23.735099-50.860927-50.860928-74.596027L230.569536 33.907285C206.834437 13.562914 176.317881 0 145.801325 0c-33.907285 0-64.423841 13.562914-84.768212 33.907285l-27.125828 27.125828c-20.344371 20.344371-33.907285 50.860927-33.907285 84.768212 0 30.516556 13.562914 61.033113 33.907285 84.768211l227.178808 227.178808c27.125828 27.125828 50.860927 40.688742 74.596026 50.860928 20.344371 6.781457 37.298013 23.735099 44.07947 44.07947 10.172185 27.125828 23.735099 50.860927 50.860928 77.986755 10.172185 10.172185 20.344371 13.562914 33.907284 13.562914s23.735099-3.390728 33.907285-13.562914l20.344371-20.344371 250.913907 250.913907v30.516556c0 23.735099 13.562914 44.07947 33.907285 54.251656l145.801325 74.596027c3.390728 0 3.390728 3.390728 6.781456 3.390728s10.172185-3.390728 13.562914-3.390728l44.079471-44.079471c6.781457-6.781457 6.781457-13.562914 3.390728-20.344371l-74.596026-152.582781zM457.748344 674.754967c-16.953642-3.390728-33.907285-10.172185-47.470198-23.735099-30.516556-30.516556-50.860927-61.033113-61.033113-91.549669 0-3.390728-3.390728-6.781457-3.390728-10.172186-3.390728-3.390728-6.781457-6.781457-13.562914-6.781457s-10.172185 0-13.562914 6.781457l-23.7351 27.125828c-23.735099 20.344371-54.251656 33.907285-91.549668 33.907285-118.675497 0-203.443709 81.377483-203.443709 196.662251 0 6.781457 0 13.562914 3.390728 20.344371v3.390729c0 6.781457 3.390728 10.172185 10.172186 13.562914 3.390728 3.390728 10.172185 3.390728 16.953642 0L169.536424 759.523179c37.298013 20.344371 64.423841 57.642384 67.814569 98.331126L88.15894 949.403974c-3.390728 3.390728-6.781457 6.781457-6.781457 13.562913s3.390728 10.172185 6.781457 13.562914c37.298013 27.125828 77.986755 40.688742 122.066226 40.688742 50.860927 0 105.112583-23.735099 142.410596-67.814569 47.470199-50.860927 67.81457-98.331126 64.423841-149.192053 0-30.516556 13.562914-61.033113 37.298013-88.158941l10.172185-10.172185c3.390728-3.390728 6.781457-10.172185 3.390729-16.953643 0-6.781457-6.781457-10.172185-10.172186-10.172185z m-247.523178 325.509934zM562.860927 349.245033c30.516556 10.172185 61.033113 30.516556 88.158941 57.642384 13.562914 13.562914 20.344371 27.125828 23.735099 44.07947 0 6.781457 6.781457 10.172185 10.172185 13.562914h6.781457c3.390728 0 10.172185-3.390728 13.562914-6.781457l61.033113-64.423841c16.953642 3.390728 33.907285 6.781457 50.860927 6.781457 61.033113 0 115.284768-23.735099 152.582781-61.033112 30.516556-33.907285 50.860927-84.768212 47.470199-142.410596 0-6.781457-3.390728-10.172185-10.172185-13.562914-6.781457-3.390728-10.172185-3.390728-16.953643 0l-118.675496 71.205298c-37.298013-20.344371-64.423841-57.642384-67.81457-98.331126l132.238411-81.377484c3.390728-3.390728 6.781457-6.781457 6.781457-13.562913s-3.390728-10.172185-6.781457-13.562914C901.933775 16.953642 857.854305 0 806.993377 0s-105.112583 23.735099-142.410596 64.423841c-47.470199 50.860927-67.81457 98.331126-67.814569 149.192053 0 30.516556-13.562914 61.033113-37.298013 84.768212l-13.562914 13.562914c0 6.781457-3.390728 13.562914-3.390729 16.953642s3.390728 10.172185 3.390729 13.562914c6.781457 3.390728 10.172185 3.390728 16.953642 6.781457z" /></svg>

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@@ -7,7 +7,7 @@ export const toolsJsonObjects: ToolsJsonObject[] = [
path: '',
id: 'tools',
component: React.lazy(() => import('@/pages/tools')),
icon: React.lazy(() => import('~icons/fatweb/logo.jsx')),
icon: React.lazy(() => import('~icons/fatweb/home.jsx')),
name: '主页',
menu: true,
auth: false
@@ -18,7 +18,7 @@ export const toolsJsonObjects: ToolsJsonObject[] = [
component: React.lazy(() => import('@/pages/tools')),
name: '全部工具',
titlePostfix: ' - 全部工具',
icon: React.lazy(() => import('~icons/fatweb/logo.jsx')),
icon: React.lazy(() => import('~icons/fatweb/tool.jsx')),
menu: true,
auth: false
},