diff --git a/src/store/prefs-store.js b/src/store/prefs-store.js index 262117e..26ffdf3 100644 --- a/src/store/prefs-store.js +++ b/src/store/prefs-store.js @@ -113,6 +113,8 @@ function initializePrefEvents (store) { window.addEventListener('storage', (storageEv) => { if (storageEv.key === 'PREFERENCES') { store.commit('prefs/replacePrefs', JSON.parse(storageEv.newValue)) + } else if (storageEv.key === 'COLOR_SCHEME') { + store.commit('prefs/setColorScheme', JSON.parse(storageEv.newValue)) } }) }