fix: carry accent-aliased theme keys (mdCode, mdListBullet) in the accent override #47
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "clfy-accent-aliases"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Live smoke finding: file listings in the transcript stayed teal (
38;2;138;190;183) after the accent fix — pi's dark theme resolvesmdCodeandmdListBulletfrom the sameaccentvar, and the override only rewrote theaccentkey.The override now records, per theme instance, every
fgColorskey whose loaded value aliased the accent, and rewrites/restores them together with it. Non-aliased keys are untouched;accentColor: "theme"restores all of them exactly. Works for custom themes too — aliasing is detected by value at load, not by a hardcoded key list.Honest caveat (in the doc): Claude Code's exact inline-code color is uncaptured — scratch CC sessions kept stalling — so this treats accent-aliased surfaces as accent-colored (the theme's own declared intent, visually consistent with CC's blue-family inline code). A future capture may refine
mdCodeto its own CC value.scripts/test-claudify-hub.ts; 15/15 suites; tsc strict clean.