mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-15 05:19:58 +00:00
45 lines
1.1 KiB
Vue
45 lines
1.1 KiB
Vue
<script setup lang="ts">
|
|
const { t } = useI18n()
|
|
|
|
useHydratedHead({
|
|
title: () => `${t('settings.interface.label')} | ${t('nav.settings')}`,
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<MainContent back-on-small-screen>
|
|
<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">
|
|
<label space-y-2>
|
|
<p font-medium>{{ $t('settings.interface.font_size') }}</p>
|
|
<SettingsFontSize select-settings />
|
|
</label>
|
|
<div space-y-2>
|
|
<p font-medium>
|
|
{{ $t('settings.interface.color_mode') }}
|
|
</p>
|
|
<SettingsColorMode />
|
|
</div>
|
|
<div space-y-2>
|
|
<p font-medium>
|
|
{{ $t('settings.interface.theme_color') }}
|
|
</p>
|
|
<SettingsThemeColors />
|
|
</div>
|
|
<div space-y-2>
|
|
<p font-medium>
|
|
{{ $t('settings.interface.bottom_nav') }}
|
|
</p>
|
|
<p>
|
|
{{ $t('settings.interface.bottom_nav_instructions') }}
|
|
</p>
|
|
<SettingsBottomNav />
|
|
</div>
|
|
</div>
|
|
</MainContent>
|
|
</template>
|