From 8b68f4f7b088d9723f2183242962bc8c948deee4 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Tue, 23 Jun 2026 21:53:23 -0400 Subject: chore(todo): answer + close completion-icon face investigation --- todo.org | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/todo.org b/todo.org index ed021cca8..968671f77 100644 --- a/todo.org +++ b/todo.org @@ -68,10 +68,24 @@ yields. Archiving gptel this session freed the =C-; a= prefix, so the whole ai-term family could live under =C-; a= (or another near-home-row key). Related: the s-F9 detached-agent landing task and the tmux copy-mode binding task elsewhere in this section. From the roam inbox. -** TODO [#C] Face coloring completion-read icons :quick:solo: -Identify which face colors the icons shown in completing-read (the -nerd-icons-completion / marginalia icons) in this config, so the icon color can -be themed. From the roam inbox. +** DONE [#C] Face coloring completion-read icons :quick:solo: +CLOSED: [2026-06-23 Tue] +Answered 2026-06-23 (investigation, no code change). There is no single +"completion icon" face — each icon inherits a per-type =nerd-icons-*= color +face (a .el file icon inherits =nerd-icons-purple=, an M-x command icon +=nerd-icons-blue=, etc.; nerd-icons picks the face per glyph/filetype). What +makes every completion icon render the SAME color here is this config's bulk +tint: =cj/nerd-icons-tint-color= (defcustom in =nerd-icons-config.el=, default +"darkgoldenrod") sets the foreground of all ~33 =nerd-icons-*= color faces via +=cj/nerd-icons-apply-tint=, applied in the =nerd-icons= =:config=. Verified live: +=nerd-icons-icon-for-file "init.el"= -> =:inherit nerd-icons-purple=, and that +face's foreground is "darkgoldenrod". Directory icons additionally get +=nerd-icons-yellow= layered on by =cj/--nerd-icons-color-dir= advice +(=nerd-icons-completion-dir-face= is unset, so it isn't the driver here). +To theme: change =cj/nerd-icons-tint-color= (one color for all icons, then call +=cj/nerd-icons-apply-tint=), or drop the bulk tint and set the individual +=nerd-icons-*= color faces for per-filetype colors. For theme-studio, the knob +to expose is =cj/nerd-icons-tint-color= plus the =nerd-icons-*= face family. ** DONE [#C] Org formatting inside cj comments :feature: CLOSED: [2026-06-23 Tue] Done 2026-06-23: mapped the "cj:" src-block language to org-mode via -- cgit v1.2.3