fix(app): preserve themed diff backgrounds (#36931)
This commit is contained in:
parent
c0dea334fb
commit
36157938a8
1 changed files with 1 additions and 4 deletions
|
|
@ -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],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue