Skip to content

Commit

Permalink
fix: preview background flashes
Browse files Browse the repository at this point in the history
  • Loading branch information
AriPerkkio committed Jul 23, 2024
1 parent 51a356b commit d757878
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
--vpt-bg-alt: #f6f6f7;
--vpt-border: #c2c2c4;
--vpt-text-1: rgba(60, 60, 67);
--vpt-preview-bg: #ffffff;
}

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

:root {
Expand Down Expand Up @@ -73,4 +75,8 @@
--code-background-color: var(--vpt-gray-soft);
--code-color: var(--vpt-indigo-1);
}

iframe {
background-color: var(--vpt-preview-bg);
}
}

0 comments on commit d757878

Please sign in to comment.