Function: eca-chat--context-free-color

eca-chat--context-free-color is a natively compiled function defined in eca-chat.el.

Signature

(eca-chat--context-free-color BREAKDOWN)

Documentation

Return the free-portion color (hex string) from BREAKDOWN.

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-free-color (breakdown)
  "Return the free-portion color (hex string) from BREAKDOWN."
  (let ((color (plist-get breakdown :freeColor)))
    (or (and (stringp color) (not (string-empty-p color)) color)
        (face-foreground 'eca-chat-context-free-face nil t)
        "#5c6370")))