From 6566354986583e5d7db01c8734e282faf7a072b9 Mon Sep 17 00:00:00 2001 From: Dan Rukas Date: Wed, 3 Dec 2025 17:33:37 -0500 Subject: [PATCH] fix(clipboard): Adds tooltip clipboard icon feedback when copy fails (#5609) * Added missing icon feedback * fixed colors --- .../ui-next/src/components/Clipboard/Clipboard.tsx | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/platform/ui-next/src/components/Clipboard/Clipboard.tsx b/platform/ui-next/src/components/Clipboard/Clipboard.tsx index 0b515d868..464c8cca8 100644 --- a/platform/ui-next/src/components/Clipboard/Clipboard.tsx +++ b/platform/ui-next/src/components/Clipboard/Clipboard.tsx @@ -37,17 +37,12 @@ const Clipboard: React.FC = ({ children }) => { e.stopPropagation(); handleCopy(); }} - className="text-white" + className="text-foreground" title="Copy" > {copyState === 'idle' && } - {copyState === 'success' && } - {copyState === 'error' && ( - - )} + {copyState === 'success' && } + {copyState === 'error' && } ); };