From c944a98874f79387e70692dc393e2ecbda2c8451 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E7=BA=B8=E5=BF=98=E5=BF=A7?= Date: Mon, 9 Sep 2024 23:09:38 +0800 Subject: [PATCH] chore: remove useless icons --- src/assets/icons/languages/en.svg | 11 ----------- src/assets/icons/languages/zh.svg | 9 --------- uno.config.ts | 9 +++++++-- 3 files changed, 7 insertions(+), 22 deletions(-) delete mode 100644 src/assets/icons/languages/en.svg delete mode 100644 src/assets/icons/languages/zh.svg diff --git a/src/assets/icons/languages/en.svg b/src/assets/icons/languages/en.svg deleted file mode 100644 index f3f895ad..00000000 --- a/src/assets/icons/languages/en.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - diff --git a/src/assets/icons/languages/zh.svg b/src/assets/icons/languages/zh.svg deleted file mode 100644 index 074b9f71..00000000 --- a/src/assets/icons/languages/zh.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/uno.config.ts b/uno.config.ts index df8c2dbe..2367b215 100644 --- a/uno.config.ts +++ b/uno.config.ts @@ -1,4 +1,10 @@ -import { defineConfig, presetAttributify, presetIcons, presetUno, transformerDirectives } from 'unocss' +import { + defineConfig, + presetAttributify, + presetIcons, + presetUno, + transformerDirectives, +} from 'unocss' import { FileSystemIconLoader } from '@iconify/utils/lib/loader/node-loaders' export default defineConfig({ @@ -8,7 +14,6 @@ export default defineConfig({ presetIcons({ collections: { icons: FileSystemIconLoader('./src/assets/icons/others'), - languages: FileSystemIconLoader('./src/assets/icons/languages'), }, }), ],