Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/better-insects-like.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@react-email/preview-server": patch
---

fix the forced `color-scheme: dark` for the preview
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ const Preview = ({ emailTitle, className, ...props }: PreviewProps) => {
width={width}
>
<iframe
className="solid max-h-full rounded-lg bg-white"
className="max-h-full rounded-lg bg-white [color-scheme:auto]"
ref={(iframe) => {
if (iframe) {
return makeIframeDocumentBubbleEvents(iframe);
Expand Down
43 changes: 42 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading