From 9e00abb1d9afaad6389e5e35526689ebc0a04c21 Mon Sep 17 00:00:00 2001 From: Neko Ayaka Date: Fri, 17 May 2024 15:03:36 +0800 Subject: [PATCH] fix(enhanced-readabilities): [unocss] failed to load icon (#217) --- .../src/client/components/LayoutSwitch.vue | 7 +++++-- .../LayoutSwitchContentLayoutMaxWidthSlider.vue | 8 ++++++-- .../components/LayoutSwitchPageLayoutMaxWidthSlider.vue | 7 +++++-- .../src/client/components/MenuTitle.vue | 3 +-- .../src/client/components/ScreenLayoutSwitch.vue | 7 +++++-- .../src/client/components/ScreenMenu.vue | 7 +++++-- .../src/client/components/ScreenSpotlight.vue | 7 +++++-- .../src/client/components/Spotlight.vue | 7 +++++-- .../src/client/components/SpotlightStyles.vue | 7 +++++-- 9 files changed, 42 insertions(+), 18 deletions(-) diff --git a/packages/vitepress-plugin-enhanced-readabilities/src/client/components/LayoutSwitch.vue b/packages/vitepress-plugin-enhanced-readabilities/src/client/components/LayoutSwitch.vue index 30d5d05a..13411dba 100644 --- a/packages/vitepress-plugin-enhanced-readabilities/src/client/components/LayoutSwitch.vue +++ b/packages/vitepress-plugin-enhanced-readabilities/src/client/components/LayoutSwitch.vue @@ -125,13 +125,16 @@ onMounted(() => {
+ > + + { >
+ > + + + { >
+ > + + const props = defineProps<{ title?: string - icon?: string disabled?: boolean }>() @@ -14,7 +13,7 @@ const props = defineProps<{ text="[14px] $vp-nolebase-enhanced-readabilities-menu-text-color" inline-flex select-none items-center align-middle font-medium > -