From 2988e7bf0b58a11396fe7556da3e2c9bfc8c05c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hartmut=20N=C3=B6renberg?= Date: Sun, 22 Mar 2026 20:16:21 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20Blueprint=20catalog=20dark=20theme=20?= =?UTF-8?q?=E2=80=94=20match=20app-wide=20dark=20styling?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add dark: variants to all Blueprint field catalog and card components: - Modal: dark:bg-gray-900, borders dark:border-gray-700 - Sidebar: dark:bg-gray-800/50, active dark:bg-brand-950/40 - Field cards: dark:bg-gray-800/50 (inactive), dark:bg-brand-950/30 (active) - Type icons: dark:bg-gray-700 (inactive), dark:bg-brand-900/50 (active) - Toggle: dark:bg-gray-600 (off track) - Inputs: dark:bg-gray-800, dark:border-gray-600, dark:text-gray-100 - Labels/text: dark:text-gray-200/300/400/500 throughout - Custom field form: dark:bg-gray-800/50, dark:border-gray-600 Co-Authored-By: claude-flow --- .../blueprints/BlueprintFieldCatalog.tsx | 34 +++++++++---------- .../src/components/blueprints/FieldCard.tsx | 28 +++++++-------- 2 files changed, 31 insertions(+), 31 deletions(-) diff --git a/apps/web/src/components/blueprints/BlueprintFieldCatalog.tsx b/apps/web/src/components/blueprints/BlueprintFieldCatalog.tsx index 2091132..0cc3fda 100644 --- a/apps/web/src/components/blueprints/BlueprintFieldCatalog.tsx +++ b/apps/web/src/components/blueprints/BlueprintFieldCatalog.tsx @@ -19,13 +19,13 @@ import type { CatalogField } from "~/lib/blueprint-field-catalog.js"; // --------------------------------------------------------------------------- const INPUT_CLS = - "px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-brand-500 text-sm"; + "px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg focus:outline-none focus:ring-2 focus:ring-brand-500 text-sm bg-white dark:bg-gray-800 text-gray-900 dark:text-gray-100 placeholder:text-gray-400 dark:placeholder:text-gray-500"; const BTN_PRIMARY = "px-4 py-2 bg-brand-600 text-white rounded-lg hover:bg-brand-700 text-sm font-medium disabled:opacity-50"; const BTN_SECONDARY = - "px-4 py-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 text-sm font-medium"; + "px-4 py-2 border border-gray-300 dark:border-gray-600 text-gray-700 dark:text-gray-200 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-700 text-sm font-medium"; // --------------------------------------------------------------------------- // Types @@ -395,13 +395,13 @@ export function BlueprintFieldCatalog({ className="fixed inset-0 bg-black/50 z-50 flex items-start justify-center overflow-y-auto py-8" onClick={handleBackdropClick} > -
+
{/* Header */} -
+
-

+

Configure Fields:{" "} - {blueprintName} + {blueprintName}

{enabledCount} field{enabledCount !== 1 ? "s" : ""} enabled @@ -410,7 +410,7 @@ export function BlueprintFieldCatalog({

{/* Tabs */} -
+
{(["fields", "presets"] as const).map((tab) => (