elk/pages/settings/interface/index.vue

47 lines
1.2 KiB
Vue
Raw Normal View History

2023-01-04 14:57:12 +01:00
<script setup lang="ts">
const { t } = useI18n()
useHydratedHead({
2023-01-04 14:57:12 +01:00
title: () => `${t('settings.interface.label')} | ${t('nav.settings')}`,
})
</script>
2022-12-27 00:04:24 +01:00
<template>
<MainContent back-on-small-screen>
2022-12-27 00:04:24 +01:00
<template #title>
<div text-lg font-bold flex items-center gap-2 @click="$scrollToTop">
<span>{{ $t('settings.interface.label') }}</span>
</div>
</template>
<div p6 flex="~ col gap6">
<div space-y-2>
<p id="interface-fs" font-medium>
{{ $t('settings.interface.font_size') }}
</p>
<SettingsFontSize select-settings />
</div>
2022-12-29 20:27:11 +01:00
<div space-y-2>
<p id="interface-cm" font-medium>
2022-12-29 20:27:11 +01:00
{{ $t('settings.interface.color_mode') }}
</p>
<SettingsColorMode />
2022-12-29 20:27:11 +01:00
</div>
2023-01-16 11:26:19 +01:00
<div space-y-2>
<p id="interface-tc" font-medium>
2023-01-16 11:26:19 +01:00
{{ $t('settings.interface.theme_color') }}
</p>
<SettingsThemeColors />
</div>
<div space-y-2>
<p id="interface-bn" font-medium>
{{ $t('settings.interface.bottom_nav') }}
</p>
<p id="interface-bn-desc">
{{ $t('settings.interface.bottom_nav_instructions') }}
</p>
<SettingsBottomNav />
</div>
2022-12-27 00:04:24 +01:00
</div>
</MainContent>
</template>