Skip to content

Commit d757878

Browse files
committed
fix: preview background flashes
1 parent 51a356b commit d757878

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

theme.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
--vpt-bg-alt: #f6f6f7;
1212
--vpt-border: #c2c2c4;
1313
--vpt-text-1: rgba(60, 60, 67);
14+
--vpt-preview-bg: #ffffff;
1415
}
1516

1617
:root[data-theme="dark"] {
@@ -21,6 +22,7 @@
2122
--vpt-bg-alt: #161618;
2223
--vpt-border: #3c3f44;
2324
--vpt-text-1: rgba(255, 255, 245, 0.86);
25+
--vpt-preview-bg: #242424;
2426
}
2527

2628
:root {
@@ -73,4 +75,8 @@
7375
--code-background-color: var(--vpt-gray-soft);
7476
--code-color: var(--vpt-indigo-1);
7577
}
78+
79+
iframe {
80+
background-color: var(--vpt-preview-bg);
81+
}
7682
}

0 commit comments

Comments
 (0)