fix(themes): fix themes

This commit is contained in:
cocobo1 2025-10-17 23:09:13 +03:00
parent 592f7d744b
commit 62de1e67d7
2 changed files with 1 additions and 2 deletions

View file

@ -55,6 +55,5 @@ export default function patchChatBackground() {
return <ThemeBackground>{ret}</ThemeBackground>;
})
];
return () => patches.forEach(x => x());
}

View file

@ -30,7 +30,7 @@ function getRawFallback(key: string): string | undefined {
if (!isDark) return undefined;
const DARK_MODE_RAW_FALLBACK: Record<string, string> = {
"PRIMARY_230": origRawColor.PRIMARY_700 || "#000000"
"PRIMARY_230": origRawColor.PRIMARY_230 || "#000000"
};
return DARK_MODE_RAW_FALLBACK[key];