diff --git a/packages/frontend/src/_dev_boot_.ts b/packages/frontend/src/_dev_boot_.ts index a35069bc3..c7c608e40 100644 --- a/packages/frontend/src/_dev_boot_.ts +++ b/packages/frontend/src/_dev_boot_.ts @@ -62,7 +62,7 @@ async function main() { } //#endregion - const fontSize = localStorage.getItem('fontSize') ?? 2; + const fontSize = localStorage.getItem('fontSize') ?? 1; if (fontSize) { document.documentElement.classList.add('f-' + fontSize); } diff --git a/packages/frontend/src/pages/settings/pari.vue b/packages/frontend/src/pages/settings/pari.vue index c5cfdc65d..a912d0bba 100644 --- a/packages/frontend/src/pages/settings/pari.vue +++ b/packages/frontend/src/pages/settings/pari.vue @@ -110,7 +110,7 @@ import FormSection from '@/components/form/section.vue'; const defaultFont = getDefaultFontSettings(); console.log(defaultFont); -const fontSizeNumber = ref(Number(miLocalStorage.getItem('fontSize') ?? 2)); +const fontSizeNumber = ref(Number(miLocalStorage.getItem('fontSize') ?? 1)); const fontSizeNumberOld = ref(fontSizeNumber.value); const fontSizePx = computed(() => fontSizeNumber.value + 14); diff --git a/packages/frontend/src/style.scss b/packages/frontend/src/style.scss index 587ad364b..ea41d2fb7 100644 --- a/packages/frontend/src/style.scss +++ b/packages/frontend/src/style.scss @@ -42,7 +42,7 @@ html { overflow: auto; overflow-wrap: break-word; font-family: 'Lexend', 'Hiragino Maru Gothic Pro', "BIZ UDGothic", Roboto, HelveticaNeue, Arial, sans-serif; - font-size: 16px; + font-size: 15px; line-height: 1.35; text-size-adjust: 100%; tab-size: 2;