fix underlay
This commit is contained in:
parent
37b562c4aa
commit
bb48d949e1
2 changed files with 2 additions and 7 deletions
|
|
@ -235,7 +235,7 @@
|
|||
<li>
|
||||
<ChoiceSetting
|
||||
id="underlayOverride"
|
||||
path="theme3hacks.underlay"
|
||||
path="underlay"
|
||||
:options="underlayOverrideModes"
|
||||
>
|
||||
{{ $t('settings.style.themes3.hacks.underlay_overrides') }}
|
||||
|
|
|
|||
|
|
@ -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 }))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue