1
0
mirror of https://github.com/elk-zone/elk synced 2024-12-03 01:08:07 +09:00
elk/pages/settings/interface/index.vue

36 lines
923 B
Vue
Raw Normal View History

2023-01-04 22:57:12 +09:00
<script setup lang="ts">
const { t } = useI18n()
useHydratedHead({
2023-01-04 22:57:12 +09:00
title: () => `${t('settings.interface.label')} | ${t('nav.settings')}`,
})
</script>
2022-12-27 08:04:24 +09:00
<template>
<MainContent back-on-small-screen>
2022-12-27 08:04:24 +09: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">
<label space-y-2>
<p font-medium>{{ $t('settings.interface.font_size') }}</p>
<SettingsFontSize select-settings />
</label>
2022-12-30 04:27:11 +09:00
<div space-y-2>
<p font-medium>
{{ $t('settings.interface.color_mode') }}
</p>
<SettingsColorMode />
2022-12-30 04:27:11 +09:00
</div>
2023-01-16 19:26:19 +09:00
<div space-y-2>
<p font-medium>
{{ $t('settings.interface.theme_color') }}
</p>
<SettingsThemeColors />
</div>
2022-12-27 08:04:24 +09:00
</div>
</MainContent>
</template>