92 dark mode switch

This commit is contained in:
survellow
2023-12-04 23:13:17 +01:00
parent 8dfe8a4836
commit 3bc602f79f
8 changed files with 23895 additions and 3 deletions

View File

@@ -2,6 +2,7 @@
import { computed } from "vue";
import { useI18n } from "vue-i18n";
import LocaleSwitcher from "./LocaleSwitcher.vue";
import DarkModeSwitcher from "./DarkModeSwitcher.vue"
const { t } = useI18n({ useScope: "global" });
const items = computed(() => [
@@ -69,8 +70,11 @@ const items = computed(() => [
/>
</router-link>
</template>
<template #end>
<LocaleSwitcher></LocaleSwitcher>
<template #end class="align-items-stretch">
<div class="flex align-items-stretch justify-content-center">
<DarkModeSwitcher></DarkModeSwitcher>
<LocaleSwitcher></LocaleSwitcher>
</div>
</template>
</Menubar>
</template>