add ability to override underlay color/opacity regardless of theme
This commit is contained in:
parent
e029732021
commit
a378c999b7
6 changed files with 54 additions and 16 deletions
|
|
@ -282,12 +282,12 @@ const config = {
|
|||
}
|
||||
} else {
|
||||
commit('setOption', { name, value })
|
||||
if (
|
||||
name.startsWith('theme3hacks') ||
|
||||
APPEARANCE_SETTINGS_KEYS.has(name)
|
||||
) {
|
||||
if (APPEARANCE_SETTINGS_KEYS.has(name)) {
|
||||
applyConfig(state)
|
||||
}
|
||||
if (name.startsWith('theme3hacks')) {
|
||||
dispatch('setTheme', { recompile: true })
|
||||
}
|
||||
switch (name) {
|
||||
case 'theme':
|
||||
dispatch('setTheme', { themeName: value, recompile: true })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue