feat: 更新 Code Index MCP 提供者支持,修改 CLAUDE.md 和相关样式

This commit is contained in:
catlog22
2025-12-25 20:12:45 +08:00
parent 203100431b
commit 6894c7e80b
7 changed files with 91 additions and 37 deletions

View File

@@ -158,3 +158,37 @@
pointer-events: none;
}
/* Code Index MCP Toggle Buttons */
.code-mcp-btn {
padding: 0.375rem 0.75rem;
font-size: 0.75rem;
font-weight: 500;
border-radius: 0.375rem;
border: none;
cursor: pointer;
transition: all 0.15s ease;
background: transparent;
color: hsl(var(--muted-foreground));
}
.code-mcp-btn:hover {
color: hsl(var(--foreground));
background: hsl(var(--muted) / 0.5);
}
.code-mcp-btn.active,
.code-mcp-btn[class*="bg-primary"] {
background: hsl(var(--primary));
color: hsl(var(--primary-foreground));
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.code-mcp-toggle {
display: flex;
align-items: center;
gap: 0.25rem;
background: hsl(var(--muted));
border-radius: 0.5rem;
padding: 0.125rem;
}