fix: update dark mode

This commit is contained in:
thehrz 2023-07-21 18:19:53 +08:00
parent fc32099b38
commit e0dd9e64fa
Signed by: thehrz
GPG Key ID: C84CBCE7D5F88855

View File

@ -1,5 +1,5 @@
<script setup lang="ts"> <script setup lang="ts">
const { isDark } = useDark() const { isDark } = useDarkMode()
useHead({ useHead({
title: '合肥市南园学校19预科2班', title: '合肥市南园学校19预科2班',
@ -7,7 +7,7 @@ useHead({
{ name: 'description', content: '合肥市南园学校19预科2班纪念项目' }, { name: 'description', content: '合肥市南园学校19预科2班纪念项目' },
{ {
name: 'theme-color', name: 'theme-color',
content: computed(() => isDark ? '#00aba9' : '#ffffff'), content: computed(() => isDark() ? '#00aba9' : '#ffffff'),
}, },
], ],
link: [ link: [