mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-06 12:06:58 +00:00
chore(preferences): fix font size option and restore barkey defaults
This commit is contained in:
parent
12a49cdda5
commit
bb89792f15
3 changed files with 5 additions and 4 deletions
|
@ -687,6 +687,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<SearchMarker :keywords="['font', 'size']">
|
||||
<MkRadios v-model="fontSize">
|
||||
<template #label><SearchLabel>{{ i18n.ts.fontSize }}</SearchLabel></template>
|
||||
<option value="-1"><span style="font-size: 12.5px;">Aa</span></option>
|
||||
<option value="0"><span style="font-size: 14px;">Aa</span></option>
|
||||
<option value="1"><span style="font-size: 15px;">Aa</span></option>
|
||||
<option value="2"><span style="font-size: 16px;">Aa</span></option>
|
||||
|
|
|
@ -190,7 +190,7 @@ export const PREF_DEF = {
|
|||
default: window.matchMedia('(prefers-reduced-motion)').matches,
|
||||
},
|
||||
emojiStyle: {
|
||||
default: 'twemoji', // twemoji / fluentEmoji / native
|
||||
default: 'fluentEmoji', // twemoji / fluentEmoji / native
|
||||
},
|
||||
menuStyle: {
|
||||
default: 'auto' as 'auto' | 'popup' | 'drawer',
|
||||
|
@ -469,7 +469,7 @@ export const PREF_DEF = {
|
|||
default: false,
|
||||
},
|
||||
visibilityOnBoost: {
|
||||
default: 'public' as 'public' | 'home' | 'followers',
|
||||
default: 'followers' as 'public' | 'home' | 'followers',
|
||||
},
|
||||
warnExternalUrl: {
|
||||
default: true,
|
||||
|
@ -494,7 +494,7 @@ export const PREF_DEF = {
|
|||
miLocalStorage.removeItem('fontSize');
|
||||
}
|
||||
},
|
||||
} as Pref<'0' | '1' | '2' | '3'>,
|
||||
} as Pref<'-1' | '0' | '1' | '2' | '3'>,
|
||||
useSystemFont: {
|
||||
default: false,
|
||||
needsReload: true,
|
||||
|
|
|
@ -48,7 +48,7 @@ export const store = markRaw(new Pizzax('base', {
|
|||
},
|
||||
reactionAcceptance: {
|
||||
where: 'account',
|
||||
default: 'nonSensitiveOnly' as 'likeOnly' | 'likeOnlyForRemote' | 'nonSensitiveOnly' | 'nonSensitiveOnlyForLocalLikeOnlyForRemote' | null,
|
||||
default: null as 'likeOnly' | 'likeOnlyForRemote' | 'nonSensitiveOnly' | 'nonSensitiveOnlyForLocalLikeOnlyForRemote' | null,
|
||||
},
|
||||
mutedAds: {
|
||||
where: 'account',
|
||||
|
|
Loading…
Add table
Reference in a new issue