Function: eca-chat--context-category-color
eca-chat--context-category-color is a natively compiled function
defined in eca-chat.el.
Signature
(eca-chat--context-category-color CAT)
Documentation
Return the bar color (hex string) for category CAT.
Prefers the server color, falling back to the client face foreground.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--context-category-color (cat)
"Return the bar color (hex string) for category CAT.
Prefers the server color, falling back to the client face foreground."
(let ((color (plist-get cat :color)))
(or (and (stringp color) (not (string-empty-p color)) color)
(face-foreground (eca-chat--context-category-face (plist-get cat :name))
nil t)
"#888888")))