elk/pages/settings/interface/index.vue

24 lines
648 B
Vue
Raw Normal View History

2022-12-26 23:04:24 +00:00
<script lang="ts" setup>
const { lg } = breakpoints
</script>
<template>
<MainContent :back="!lg">
<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>
<label space-y-2>
<p font-medium>{{ $t('settings.interface.color_mode') }}</p>
<SettingsColorMode />
</label>
2022-12-26 23:04:24 +00:00
</div>
</MainContent>
</template>