Skip to content

Commit 191cd7e

Browse files
mydd7maria-rcks
andauthored
fix(web): match HTML render backgrounds to the dark chat theme (#25948)
Co-authored-by: maria-rcks <[email protected]>
1 parent 447d71d commit 191cd7e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎apps/web/src/themePalette.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,10 @@ function legacyThemeMode(theme: ThemePreference): ThemeAppearance | null {
396396

397397
export function getStandardThemeColors(appearance: ThemeAppearance): ThemeColors {
398398
if (appearance === "dark") {
399-
return (standardDarkThemeColors ??= decodeThemeColors(T3_CODE_DARK_THEME_COLORS));
399+
return (standardDarkThemeColors ??= decodeThemeColors({
400+
...T3_CODE_DARK_THEME_COLORS,
401+
canvas: "#000000",
402+
}));
400403
}
401404
return (standardLightThemeColors ??= decodeThemeColors(T3_CODE_LIGHT_THEME_COLORS));
402405
}

0 commit comments

Comments
 (0)