forked from Mirrors/elk
15 lines
339 B
Vue
15 lines
339 B
Vue
<script lang="ts" setup>
|
|
import type { FontSize } from '~/composables/fontSize'
|
|
|
|
const sizes = ['xs', 'sm', 'md', 'lg', 'xl'] as FontSize[]
|
|
const fontSize = getFontSize()
|
|
</script>
|
|
|
|
<template>
|
|
<select v-model="fontSize">
|
|
<option v-for="size in sizes" :key="size" :value="size">
|
|
{{ size }}
|
|
</option>
|
|
</select>
|
|
</template>
|