mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-08-22 11:03:37 +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']">
|
<SearchMarker :keywords="['font', 'size']">
|
||||||
<MkRadios v-model="fontSize">
|
<MkRadios v-model="fontSize">
|
||||||
<template #label><SearchLabel>{{ i18n.ts.fontSize }}</SearchLabel></template>
|
<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="0"><span style="font-size: 14px;">Aa</span></option>
|
||||||
<option value="1"><span style="font-size: 15px;">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>
|
<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,
|
default: window.matchMedia('(prefers-reduced-motion)').matches,
|
||||||
},
|
},
|
||||||
emojiStyle: {
|
emojiStyle: {
|
||||||
default: 'twemoji', // twemoji / fluentEmoji / native
|
default: 'fluentEmoji', // twemoji / fluentEmoji / native
|
||||||
},
|
},
|
||||||
menuStyle: {
|
menuStyle: {
|
||||||
default: 'auto' as 'auto' | 'popup' | 'drawer',
|
default: 'auto' as 'auto' | 'popup' | 'drawer',
|
||||||
|
@ -469,7 +469,7 @@ export const PREF_DEF = {
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
visibilityOnBoost: {
|
visibilityOnBoost: {
|
||||||
default: 'public' as 'public' | 'home' | 'followers',
|
default: 'followers' as 'public' | 'home' | 'followers',
|
||||||
},
|
},
|
||||||
warnExternalUrl: {
|
warnExternalUrl: {
|
||||||
default: true,
|
default: true,
|
||||||
|
@ -494,7 +494,7 @@ export const PREF_DEF = {
|
||||||
miLocalStorage.removeItem('fontSize');
|
miLocalStorage.removeItem('fontSize');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
} as Pref<'0' | '1' | '2' | '3'>,
|
} as Pref<'-1' | '0' | '1' | '2' | '3'>,
|
||||||
useSystemFont: {
|
useSystemFont: {
|
||||||
default: false,
|
default: false,
|
||||||
needsReload: true,
|
needsReload: true,
|
||||||
|
|
|
@ -48,7 +48,7 @@ export const store = markRaw(new Pizzax('base', {
|
||||||
},
|
},
|
||||||
reactionAcceptance: {
|
reactionAcceptance: {
|
||||||
where: 'account',
|
where: 'account',
|
||||||
default: 'nonSensitiveOnly' as 'likeOnly' | 'likeOnlyForRemote' | 'nonSensitiveOnly' | 'nonSensitiveOnlyForLocalLikeOnlyForRemote' | null,
|
default: null as 'likeOnly' | 'likeOnlyForRemote' | 'nonSensitiveOnly' | 'nonSensitiveOnlyForLocalLikeOnlyForRemote' | null,
|
||||||
},
|
},
|
||||||
mutedAds: {
|
mutedAds: {
|
||||||
where: 'account',
|
where: 'account',
|
||||||
|
|
Loading…
Add table
Reference in a new issue