From b126d2ed0be944cd833cead641d884ad60fdd83a Mon Sep 17 00:00:00 2001 From: Marco Beretta <81851188+berry-13@users.noreply.github.com> Date: Fri, 19 Jun 2026 17:30:32 +0200 Subject: [PATCH] feat: add semantic status-color tokens; migrate MCP status badge Add a status-color layer (status-{success|info|warning|error|neutral} plus -subtle variants) to style.css and the unified createTailwindColors map, with a blue palette for the info hue. Migrate MCPStatusBadge (badges + dots) and MCPCardActions to the new tokens, removing all hardcoded status colors and dark: twins. Status colors are now themeable like the rest of the system. --- .../SidePanel/MCPBuilder/MCPCardActions.tsx | 4 +-- .../SidePanel/MCPBuilder/MCPStatusBadge.tsx | 26 +++++++++---------- client/src/style.css | 25 ++++++++++++++++++ .../src/theme/utils/createTailwindColors.js | 11 ++++++++ 4 files changed, 51 insertions(+), 15 deletions(-) diff --git a/client/src/components/SidePanel/MCPBuilder/MCPCardActions.tsx b/client/src/components/SidePanel/MCPBuilder/MCPCardActions.tsx index 7185185132..f6e58eebf8 100644 --- a/client/src/components/SidePanel/MCPBuilder/MCPCardActions.tsx +++ b/client/src/components/SidePanel/MCPBuilder/MCPCardActions.tsx @@ -92,7 +92,7 @@ export default function MCPCardActions({ >
- +
) : ( @@ -171,7 +171,7 @@ export default function MCPCardActions({ @@ -63,7 +63,7 @@ export default function MCPStatusBadge({ aria-live="polite" className={cn( badgeBaseClass, - 'bg-blue-50 text-blue-600 dark:bg-blue-950 dark:text-blue-400', + 'bg-status-info-subtle text-status-info', )} > @@ -81,7 +81,7 @@ export default function MCPStatusBadge({ role="status" className={cn( badgeBaseClass, - 'bg-amber-50 text-amber-600 dark:bg-amber-950 dark:text-amber-400', + 'bg-status-warning-subtle text-status-warning', )} >