2023.9.0-prismisskey.1

This commit is contained in:
mattyatea 2023-09-24 18:44:08 +09:00
parent 7f74060f8d
commit ee54a5ab2a
1 changed files with 2 additions and 4 deletions

View File

@ -87,8 +87,7 @@ if (darkMode.value && gamingMode.value == true) {
watch(darkMode, () => { watch(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 {
@ -99,8 +98,7 @@ watch(darkMode, () => {
watch(gamingMode, () => { watch(gamingMode, () => {
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 {