From 9e0fbae1debae93e7d93b6e0f24f87ca36affcfd Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Tue, 29 Oct 2024 19:39:08 +0000 Subject: [PATCH] fix: save excalidraw diagram in light mode only --- .../features/editor/components/excalidraw/excalidraw-view.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/features/editor/components/excalidraw/excalidraw-view.tsx b/apps/client/src/features/editor/components/excalidraw/excalidraw-view.tsx index f5e5b171..2ca1961d 100644 --- a/apps/client/src/features/editor/components/excalidraw/excalidraw-view.tsx +++ b/apps/client/src/features/editor/components/excalidraw/excalidraw-view.tsx @@ -73,7 +73,7 @@ export default function ExcalidrawView(props: NodeViewProps) { elements: excalidrawAPI?.getSceneElements(), appState: { exportEmbedScene: true, - exportWithDarkMode: computedColorScheme != 'light', + exportWithDarkMode: false, }, files: excalidrawAPI?.getFiles(), });