From e81fb33ffe68cfaa9d60a3d20e7a51d95839c76e Mon Sep 17 00:00:00 2001 From: Chad Curtis Date: Thu, 25 Sep 2025 05:27:52 +0000 Subject: [PATCH] Add light/dark theme awareness to console output popover. --- src/components/Shakespeare/PreviewPane.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/components/Shakespeare/PreviewPane.tsx b/src/components/Shakespeare/PreviewPane.tsx index 093f3dcb..161c27b1 100644 --- a/src/components/Shakespeare/PreviewPane.tsx +++ b/src/components/Shakespeare/PreviewPane.tsx @@ -543,12 +543,12 @@ export function PreviewPane({ projectId, activeTab, onToggleView, projectName, o {/* Messages */} -
+
{messageCount === 0 ? (
@@ -559,7 +559,7 @@ export function PreviewPane({ projectId, activeTab, onToggleView, projectName, o consoleMessages.map((msg, index) => (
{ e.stopPropagation(); copyMessageToClipboard(msg, index); @@ -567,10 +567,10 @@ export function PreviewPane({ projectId, activeTab, onToggleView, projectName, o >
{msg.message}
@@ -582,10 +582,10 @@ export function PreviewPane({ projectId, activeTab, onToggleView, projectName, o e.stopPropagation(); copyMessageToClipboard(msg, index); }} - className="h-3 w-3 p-0 opacity-0 group-hover:opacity-100 transition-all duration-200 absolute right-1 top-1 hover:bg-muted-foreground/10 text-muted-foreground hover:text-foreground bg-black/50 rounded" + className="h-3 w-3 p-0 opacity-0 group-hover:opacity-100 transition-all duration-200 absolute right-1 top-1 hover:bg-muted/70 text-muted-foreground hover:text-foreground bg-background/80 rounded border" > {copiedMessageIndex === index ? ( - + ) : ( )} @@ -599,9 +599,9 @@ export function PreviewPane({ projectId, activeTab, onToggleView, projectName, o {/* Close button */}