2023.9.0-prismisskey.1
This commit is contained in:
parent
ee54a5ab2a
commit
0071cb09a9
|
@ -76,8 +76,7 @@ const gamingMode = computed(defaultStore.makeGetterSetter('gamingMode'));
|
||||||
const darkMode = computed(defaultStore.makeGetterSetter('darkMode'));
|
const darkMode = computed(defaultStore.makeGetterSetter('darkMode'));
|
||||||
if (darkMode.value && gamingMode.value == true) {
|
if (darkMode.value && gamingMode.value == true) {
|
||||||
gaming.value = 'dark';
|
gaming.value = 'dark';
|
||||||
document.documentElement.style.setProperty('--accent', '#fff');
|
|
||||||
document.documentElement.style.setProperty('--accentLighten', '#fff');
|
|
||||||
} else if (!darkMode.value && gamingMode.value == true) {
|
} else if (!darkMode.value && gamingMode.value == true) {
|
||||||
gaming.value = 'light';
|
gaming.value = 'light';
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue