MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / getStatusColor

Function getStatusColor

src/components/lspInfoDialog/index.js:40–49  ·  view source on GitHub ↗
(status)

Source from the content-addressed store, hash-verified

38}
39
40function getStatusColor(status) {
41 switch (status) {
42 case "active":
43 return "var(--lsp-status-active, #22c55e)";
44 case "connecting":
45 return "var(--lsp-status-connecting, #f59e0b)";
46 default:
47 return "var(--lsp-status-stopped, #6b7280)";
48 }
49}
50
51function copyLogsToClipboard(serverId, serverLabel) {
52 const logs = getLspLogs(serverId);

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected