fix(app): preserve themed diff backgrounds (#36931)
This commit is contained in:
@@ -16,10 +16,7 @@ export type DiffProps<T = {}> = FileDiffOptions<T> & {
|
|||||||
|
|
||||||
const unsafeCSS = `
|
const unsafeCSS = `
|
||||||
:host {
|
:host {
|
||||||
--diffs-bg: var(
|
--diffs-bg: var(--opencode-diffs-bg, var(--color-background-stronger));
|
||||||
--opencode-diffs-bg,
|
|
||||||
light-dark(var(--diffs-light-bg, #fff), var(--diffs-dark-bg, #000))
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-diff],
|
[data-diff],
|
||||||
|
|||||||
Reference in New Issue
Block a user