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