fix(app): preserve themed diff backgrounds (#36931)

This commit is contained in:
Luke Parker 2026-07-15 07:00:22 +10:00 committed by GitHub
commit 36157938a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,10 +16,7 @@ export type DiffProps<T = {}> = FileDiffOptions<T> & {
const unsafeCSS = `
:host {
--diffs-bg: var(
--opencode-diffs-bg,
light-dark(var(--diffs-light-bg, #fff), var(--diffs-dark-bg, #000))
);
--diffs-bg: var(--opencode-diffs-bg, var(--color-background-stronger));
}
[data-diff],