Skip to content

Commit b883133

Browse files
committed
refactor: 明暗图标替换
1 parent 5269dba commit b883133

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/layouts/components/AppSetting/index.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function handleCopy() {
9393
:options="[
9494
{ icon: 'i-ri:sun-line', label: '明亮', value: 'light' },
9595
{ icon: 'i-ri:moon-line', label: '暗黑', value: 'dark' },
96-
{ icon: 'i-ri:computer-line', label: '系统', value: '' },
96+
{ icon: 'i-codicon:color-mode', label: '系统', value: '' },
9797
]"
9898
class="w-60"
9999
/>

src/layouts/components/Topbar/Toolbar/ColorScheme/index.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function toggleColorScheme(event: MouseEvent) {
4040
<HDropdown class="flex-center cursor-pointer px-2 py-1">
4141
<SvgIcon
4242
:name="{
43-
'': 'i-ri:computer-line',
43+
'': 'i-codicon:color-mode',
4444
'light': 'i-ri:sun-line',
4545
'dark': 'i-ri:moon-line',
4646
}[settingsStore.settings.app.colorScheme]" @click="toggleColorScheme"
@@ -51,7 +51,7 @@ function toggleColorScheme(event: MouseEvent) {
5151
:options="[
5252
{ icon: 'i-ri:sun-line', label: '', value: 'light' },
5353
{ icon: 'i-ri:moon-line', label: '', value: 'dark' },
54-
{ icon: 'i-ri:computer-line', label: '', value: '' },
54+
{ icon: 'i-codicon:color-mode', label: '', value: '' },
5555
]"
5656
class="m-3"
5757
/>

0 commit comments

Comments
 (0)