2023.9.0-prismisskey.1

This commit is contained in:
mattyatea 2023-09-24 18:44:08 +09:00
parent 7f74060f8d
commit ee54a5ab2a

View file

@ -87,8 +87,7 @@ if (darkMode.value && gamingMode.value == true) {
watch(darkMode, () => {
if (darkMode.value && gamingMode.value == true) {
gaming.value = 'dark';
document.documentElement.style.setProperty('--accent', '#fff');
document.documentElement.style.setProperty('--accentLighten', '#fff');
} else if (!darkMode.value && gamingMode.value == true) {
gaming.value = 'light';
} else {
@ -99,8 +98,7 @@ watch(darkMode, () => {
watch(gamingMode, () => {
if (darkMode.value && gamingMode.value == true) {
gaming.value = 'dark';
document.documentElement.style.setProperty('--accent', '#fff');
document.documentElement.style.setProperty('--accentLighten', '#fff');
} else if (!darkMode.value && gamingMode.value == true) {
gaming.value = 'light';
} else {