Skip to content

Commit fc5b79c

Browse files
Merge pull request #72 from modelcontextprotocol/ashwin/darkmodetool
more dark mode fixes
2 parents d567ff3 + 47a87e1 commit fc5b79c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/src/components/ToolsTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const ToolsTab = ({
5151
{structuredResult.content.map((item, index) => (
5252
<div key={index} className="mb-2">
5353
{item.type === "text" && (
54-
<pre className="bg-gray-50 p-4 rounded text-sm overflow-auto max-h-64">
54+
<pre className="bg-gray-50 dark:bg-gray-800 dark:text-gray-100 p-4 rounded text-sm overflow-auto max-h-64">
5555
{item.text}
5656
</pre>
5757
)}

client/src/components/ui/tabs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const TabsTrigger = React.forwardRef<
2727
<TabsPrimitive.Trigger
2828
ref={ref}
2929
className={cn(
30-
"inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",
30+
"inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 bg-muted data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",
3131
className,
3232
)}
3333
{...props}

0 commit comments

Comments
 (0)