🐛 Fix colorscheme

This commit is contained in:
2025-09-20 19:08:41 +08:00
parent 38295124cb
commit b4c105b43e
6 changed files with 113 additions and 42 deletions

View File

@@ -1,5 +1,5 @@
<template>
<v-app :theme="isDark ? 'dark' : 'light'">
<v-app :theme="colorMode.preference">
<v-app-bar flat height="48">
<v-container class="mx-auto d-flex align-center justify-center">
<p class="text-sm">Solar Network</p>
@@ -13,7 +13,5 @@
</template>
<script lang="ts" setup>
import { useCustomTheme } from "~/composables/useCustomTheme"
const { isDark } = useCustomTheme()
const colorMode = useColorMode()
</script>