Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: dark mode chat text unreadable — user message prose colors on white bubble

Louis Beaumontf4e5a38f54a8
diff --git a/apps/screenpipe-app-tauri/components/standalone-chat.tsx b/apps/screenpipe-app-tauri/components/standalone-chat.tsx
index 3a09ff252..5761574d6 100644
--- a/apps/screenpipe-app-tauri/components/standalone-chat.tsx
+++ b/apps/screenpipe-app-tauri/components/standalone-chat.tsx
@@ -321,7 +321,9 @@ function MarkdownBlock({ text, isUser }: { text: string; isUser: boolean }) {
<MemoizedReactMarkdown
className={cn(
"prose prose-sm max-w-none break-words overflow-hidden",
- isUser ? "prose-invert" : "dark:prose-invert"
+ isUser
+ ? "prose-invert dark:prose dark:text-background"
+ : "dark:prose-invert"
)}
remarkPlugins={[remarkGfm]}
components={{