style: update icon

This commit is contained in:
Libin YANG 2025-01-09 23:50:58 +00:00
parent a2b19187a9
commit 55570b57bc

View File

@ -8,7 +8,7 @@ import {
} from '@/config' } from '@/config'
import { useStore } from '@/stores' import { useStore } from '@/stores'
import { addPrefix, processClipboardContent } from '@/utils' import { addPrefix, processClipboardContent } from '@/utils'
import { ChevronDownIcon, PanelLeftClose, PanelLeftOpen, PanelRightClose, PanelRightOpen } from 'lucide-vue-next' import { ChevronDownIcon, PanelLeftClose, PanelLeftOpen, Settings } from 'lucide-vue-next'
const emit = defineEmits([`addFormat`, `formatContent`, `startCopy`, `endCopy`]) const emit = defineEmits([`addFormat`, `formatContent`, `startCopy`, `endCopy`])
@ -186,8 +186,7 @@ function copy() {
<PostInfo /> <PostInfo />
<Button variant="outline" @click="store.isOpenRightSlider = !store.isOpenRightSlider"> <Button variant="outline" @click="store.isOpenRightSlider = !store.isOpenRightSlider">
<PanelRightOpen v-show="!store.isOpenRightSlider" class="size-4" /> <Settings class="size-4" />
<PanelRightClose v-show="store.isOpenRightSlider" class="size-4" />
</Button> </Button>
<Toaster rich-colors position="top-center" /> <Toaster rich-colors position="top-center" />