Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

fix: MCP copy buttons read as proper buttons in dark mode

Anthony Stirlingc722b9f6ad97
diff --git a/frontend/editor/src/saas/components/shared/config/configSections/McpSection.tsx b/frontend/editor/src/saas/components/shared/config/configSections/McpSection.tsx
index 1133afd081..e2bfdd2fb2 100644
--- a/frontend/editor/src/saas/components/shared/config/configSections/McpSection.tsx
+++ b/frontend/editor/src/saas/components/shared/config/configSections/McpSection.tsx
@@ -40,7 +40,7 @@ function CopyInline({ value, label }: { value: string; label: string }) {
>
<Button
size="compact-xs"
- variant="subtle"
+ variant={copied ? "light" : "default"}
color={copied ? "teal" : "gray"}
onClick={copy}
leftSection={