Update main-nav.vue modify dark light icon position

pull/481/head
puzzle 10 months ago
parent 224f39df5d
commit 0ffc82c2f8

@ -49,10 +49,10 @@
class="theme-switch-wrap" class="theme-switch-wrap"
> >
<template #checked-icon> <template #checked-icon>
<n-icon :component="LightModeOutlined" /> <n-icon :component="DarkModeOutlined" />
</template> </template>
<template #unchecked-icon> <template #unchecked-icon>
<n-icon :component="DarkModeOutlined" /> <n-icon :component="LightModeOutlined" />
</template> </template>
</n-switch> </n-switch>
</div> </div>

Loading…
Cancel
Save