diff --git a/apps/web/src/components/blueprints/BlueprintFieldCatalog.tsx b/apps/web/src/components/blueprints/BlueprintFieldCatalog.tsx index 192d8d5..f078800 100644 --- a/apps/web/src/components/blueprints/BlueprintFieldCatalog.tsx +++ b/apps/web/src/components/blueprints/BlueprintFieldCatalog.tsx @@ -18,8 +18,6 @@ import type { CatalogField } from "~/lib/blueprint-field-catalog.js"; // Styles // --------------------------------------------------------------------------- -const INPUT_CLS = "app-input"; - 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"; @@ -496,7 +494,7 @@ export function BlueprintFieldCatalog({ value={searchQuery} onChange={(e) => setSearchQuery(e.target.value)} placeholder="Search fields..." - className={`${INPUT_CLS} w-full`} + className="app-input" autoFocus /> @@ -636,7 +634,7 @@ export function BlueprintFieldCatalog({ ) } placeholder="field_key" - className={`${INPUT_CLS} font-mono`} + className="app-input font-mono" />
@@ -651,7 +649,7 @@ export function BlueprintFieldCatalog({ setCustomLabel(e.target.value) } placeholder="Display Label" - className={INPUT_CLS} + className="app-input" />
@@ -665,7 +663,7 @@ export function BlueprintFieldCatalog({ e.target.value as FieldType, ) } - className={INPUT_CLS} + className="app-input" > {FIELD_TYPES.map((ft) => (
@@ -232,7 +228,7 @@ function FieldRow({ field, onChange, onDelete }: FieldRowProps) { update("placeholder", e.target.value || undefined) } placeholder="Placeholder text" - className={INPUT_CLS} + className="app-input" />
@@ -246,7 +242,7 @@ function FieldRow({ field, onChange, onDelete }: FieldRowProps) { update("description", e.target.value || undefined) } placeholder="Helper text" - className={INPUT_CLS} + className="app-input" />
diff --git a/apps/web/src/components/blueprints/BlueprintsClient.tsx b/apps/web/src/components/blueprints/BlueprintsClient.tsx index a80e4db..5488b63 100644 --- a/apps/web/src/components/blueprints/BlueprintsClient.tsx +++ b/apps/web/src/components/blueprints/BlueprintsClient.tsx @@ -14,8 +14,6 @@ import { SortableColumnHeader } from "~/components/ui/SortableColumnHeader.js"; import { useTableSort } from "~/hooks/useTableSort.js"; import { useViewPrefs } from "~/hooks/useViewPrefs.js"; -const INPUT_CLS = "app-input"; - 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"; @@ -75,15 +73,15 @@ function NewBlueprintModal({ onClose, onCreated }: NewBlueprintModalProps) {
- setName(e.target.value)} placeholder="e.g. Resource Extended Fields" className={INPUT_CLS} autoFocus /> + setName(e.target.value)} placeholder="e.g. Resource Extended Fields" className="app-input" autoFocus />
-