Optimize front-end theme switching icons

pull/182/head
zhanlaoban 3 years ago
parent 94aa90295d
commit 1c701abc3a

@ -23,8 +23,11 @@
size="small" size="small"
class="theme-switch-wrap" class="theme-switch-wrap"
> >
<template #icon> <template #checked-icon>
<dark-mode-outlined /> <n-icon :component="LightModeOutlined" />
</template>
<template #unchecked-icon>
<n-icon :component="DarkModeOutlined" />
</template> </template>
</n-switch> </n-switch>
</div> </div>

Loading…
Cancel
Save