feat(public): add setting dark or light mode

This commit is contained in:
riefive
2025-09-16 12:34:37 +07:00
parent 746e16ebe8
commit e02360aea5
3 changed files with 52 additions and 3 deletions

No files matched your search

+6 -3
View File
@@ -1,4 +1,6 @@
<script setup lang="ts">
import ThemeToggle from "./ThemeToggle.vue"
const route = useRoute()
function setLinks() {
@@ -48,9 +50,10 @@ watch(
<Separator orientation="vertical" class="h-4" />
<!-- <BaseBreadcrumbCustom :links="links" /> -->
</div>
<div class="ml-auto">
<slot />
</div>
<div class="ml-auto flex items-center gap-2">
<slot />
<ThemeToggle />
</div>
</header>
</template>