fix(themes): fix themes
This commit is contained in:
parent
592f7d744b
commit
62de1e67d7
2 changed files with 1 additions and 2 deletions
|
|
@ -55,6 +55,5 @@ export default function patchChatBackground() {
|
|||
return <ThemeBackground>{ret}</ThemeBackground>;
|
||||
})
|
||||
];
|
||||
|
||||
return () => patches.forEach(x => x());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue