diff --git a/app/components/DevConsole.tsx b/app/components/DevConsole.tsx index e5024d4..fedc75a 100644 --- a/app/components/DevConsole.tsx +++ b/app/components/DevConsole.tsx @@ -32,12 +32,12 @@ function tryPretty(text: string): string { function methodBg(method: string): string { switch (method) { - case "GET": return "#1d4ed8"; - case "POST": return "#15803d"; - case "PUT": return "#b45309"; - case "PATCH": return "#6d28d9"; - case "DELETE": return "#b91c1c"; - default: return "#475569"; + case "GET": return "#2563eb"; + case "POST": return "#16a34a"; + case "PUT": return "#d97706"; + case "PATCH": return "#7c3aed"; + case "DELETE": return "#dc2626"; + default: return "#6b7280"; } } @@ -124,8 +124,9 @@ export default function DevConsole({ zIndex: 50, display: "flex", flexDirection: "column", - background: "#0f172a", - borderLeft: "1px solid #1e293b", + background: "#ffffff", + borderLeft: "1px solid #e5e7eb", + boxShadow: "-4px 0 24px rgba(0,0,0,0.06)", transform: open ? "translateX(0)" : "translateX(100%)", transition: "transform 280ms cubic-bezier(0.4,0,0.2,1)", }} @@ -157,16 +158,17 @@ export default function DevConsole({ alignItems: "center", gap: "8px", padding: "10px 14px", - borderBottom: "1px solid #1e293b", + borderBottom: "1px solid #e5e7eb", flexShrink: 0, + background: "#ffffff", }}> - + Dev Console @@ -180,11 +182,11 @@ export default function DevConsole({ fontSize: "0.68rem", fontWeight: 500, padding: "3px 9px", - borderRadius: "4px", + borderRadius: "6px", border: "none", cursor: "pointer", - background: activeTab === tab ? "#1e293b" : "transparent", - color: activeTab === tab ? "#e2e8f0" : "#475569", + background: activeTab === tab ? "#f3f4f6" : "transparent", + color: activeTab === tab ? "#111827" : "#9ca3af", textTransform: "capitalize", }} > @@ -198,7 +200,7 @@ export default function DevConsole({ background: "transparent", border: "none", cursor: "pointer", - color: "#475569", + color: "#9ca3af", display: "flex", alignItems: "center", padding: "2px", @@ -213,7 +215,7 @@ export default function DevConsole({ {activeTab === "logs" && (
{logs.length === 0 ? ( -
+
No requests captured yet
) : ( @@ -232,16 +234,16 @@ export default function DevConsole({ {/* Request tab */} {activeTab === "request" && (
-
+