fix: style agent mentions with primary color in markdown messages

Agent @mentions in markdown use the primary accent instead of generic link color
Mentions render without external URL favicons
Markdown mode now matches plain text mention styling
This commit is contained in:
Bohdan Triapitsyn
2026-06-11 00:46:34 +03:00
parent b46153801b
commit d29a0c5697
4 changed files with 87 additions and 21 deletions
+11
View File
@@ -1069,6 +1069,17 @@ html:not(.dark) .chat-scroll {
color: var(--markdown-link-hover, var(--primary));
}
/* Agent/skill mentions use the primary accent, not the markdown link color */
.markdown-content a[data-openchamber-agent-mention="true"],
.markdown-content a[data-skill-name] {
color: var(--primary);
}
.markdown-content a[data-openchamber-agent-mention="true"]:hover,
.markdown-content a[data-skill-name]:hover {
color: var(--primary);
}
/* Markdown blockquote - use theme colors */
.markdown-content blockquote {
color: var(--markdown-blockquote, var(--muted-foreground));