fix: update dark mode
This commit is contained in:
parent
fc32099b38
commit
e0dd9e64fa
@ -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: [
|
||||||
|
Loading…
Reference in New Issue
Block a user