fix underlay

This commit is contained in:
Henry Jameson 2026-04-10 17:04:32 +03:00
commit bb48d949e1
2 changed files with 2 additions and 7 deletions

View file

@ -235,7 +235,7 @@
<li>
<ChoiceSetting
id="underlayOverride"
path="theme3hacks.underlay"
path="underlay"
:options="underlayOverrideModes"
>
{{ $t('settings.style.themes3.hacks.underlay_overrides') }}

View file

@ -23,15 +23,12 @@ const APPEARANCE_SETTINGS_KEYS = [
'forcedRoundness',
'emojiSize',
'emojiReactionsScale',
]
const HACKS_KEYS = new Set([
'fontInterface',
'fontPosts',
'fontInput',
'fontMonospace',
'underlay',
])
]
const MIXED_KEYS = new Set([
...APPEARANCE_SETTINGS_KEYS,
@ -45,8 +42,6 @@ export const piniaStylePlugin = ({ store, options }) => {
const { path } = args[0]
if (MIXED_KEYS.has(path)) {
after(() => applyStyleConfig(useMergedConfigStore().mergedConfig))
}
if (HACKS_KEYS.has(path)) {
after(() => useInterfaceStore().applyTheme({ recompile: true }))
}
}