mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-22 01:15:25 +03:00
14 lines
339 B
Vue
14 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>
|