diff --git a/penpot-plugin/src/main.ts b/penpot-plugin/src/main.ts index b48d849..0606760 100644 --- a/penpot-plugin/src/main.ts +++ b/penpot-plugin/src/main.ts @@ -14,7 +14,7 @@ const statusElement = document.getElementById("connection-status"); function updateConnectionStatus(status: string, isConnectedState: boolean): void { if (statusElement) { statusElement.textContent = status; - statusElement.style.color = isConnectedState ? "#4CAF50" : "#666"; + statusElement.style.color = isConnectedState ? "#6911d4" : "#600"; } } diff --git a/penpot-plugin/src/plugin.ts b/penpot-plugin/src/plugin.ts index e91270c..e254878 100644 --- a/penpot-plugin/src/plugin.ts +++ b/penpot-plugin/src/plugin.ts @@ -7,7 +7,7 @@ import { Task, TaskHandler } from "./TaskHandler"; */ const taskHandlers: TaskHandler[] = [new PrintTextTaskHandler(), new ExecuteCodeTaskHandler()]; -penpot.ui.open("Penpot MCP Plugin", `?theme=${penpot.theme}`); +penpot.ui.open("Penpot MCP Plugin", `?theme=${penpot.theme}`, { width: 400, height: 300 }); // Handle both legacy string messages and new request-based messages penpot.ui.onMessage((message) => {