1
0
Fork 0
mirror of https://github.com/elk-zone/elk.git synced 2025-03-25 11:02:56 +03:00
elk/components/settings/SettingsFontSize.vue
2022-12-28 04:50:29 +01:00

14 lines
357 B
Vue

<script lang="ts" setup>
import type { FontSize } from '~/types'
const sizes = ['xs', 'sm', 'md', 'lg', 'xl'] as FontSize[]
const fontSize = useFontSizeRef()
</script>
<template>
<select v-model="fontSize">
<option v-for="size in sizes" :key="size" :value="size" :selected="fontSize === size">
{{ size }}
</option>
</select>
</template>