TypeScript
fix(web): match HTML render backgrounds to the dark chat theme (#25948)
Mydd191cd7e789e0
diff --git a/apps/web/src/themePalette.ts b/apps/web/src/themePalette.tsindex 58dfe4b53ed..e7d9c5d5bf2 100644--- a/apps/web/src/themePalette.ts+++ b/apps/web/src/themePalette.ts@@ -396,7 +396,10 @@ function legacyThemeMode(theme: ThemePreference): ThemeAppearance | null {export function getStandardThemeColors(appearance: ThemeAppearance): ThemeColors {if (appearance === "dark") {- return (standardDarkThemeColors ??= decodeThemeColors(T3_CODE_DARK_THEME_COLORS));+ return (standardDarkThemeColors ??= decodeThemeColors({+ ...T3_CODE_DARK_THEME_COLORS,+ canvas: "#000000",+ }));}return (standardLightThemeColors ??= decodeThemeColors(T3_CODE_LIGHT_THEME_COLORS));}