Skip to content

Commit 092cca1

Browse files
fix: preserve background and color theme.
1 parent 85e504b commit 092cca1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/app.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,8 @@ const shadowPreviewBaseStyles = `
464464
padding: var(--preview-host-padding, 18px);
465465
overflow: var(--preview-host-overflow, auto);
466466
position: var(--preview-host-position, relative);
467+
background: var(--surface-preview);
468+
color-scheme: var(--control-color-scheme, dark);
467469
z-index: var(--preview-host-z-index, 1);
468470
box-sizing: border-box;
469471
}

0 commit comments

Comments
 (0)