diff --git a/components/settings/SettingsFontSize.vue b/components/settings/SettingsFontSize.vue index 91d5dfc0..23073cc2 100644 --- a/components/settings/SettingsFontSize.vue +++ b/components/settings/SettingsFontSize.vue @@ -4,12 +4,61 @@ import type { FontSize } from '~/types' const sizes = ['xs', 'sm', 'md', 'lg', 'xl'] as FontSize[] const fontSize = useFontSizeRef() + +const setFontSize = (e: any) => { + if ('valueAsNumber' in e.target) + fontSize.value = sizes[e.target.valueAsNumber] +} + + diff --git a/pages/settings/interface/index.vue b/pages/settings/interface/index.vue index 5939bdda..6d3cdcae 100644 --- a/pages/settings/interface/index.vue +++ b/pages/settings/interface/index.vue @@ -1,9 +1,36 @@
+
+ +
+