aboutsummaryrefslogtreecommitdiff
path: root/modules/eshell-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-25 12:36:03 -0400
committerCraig Jennings <c@cjennings.net>2026-06-25 12:36:03 -0400
commit439fb0e65fcf341b9f0b92c47f8aebe138bcb9e5 (patch)
treed52dca9be96825cd808f642a1d3976fcc8dee1a2 /modules/eshell-config.el
parent0ac6d798b48a7d075a7da4485832990872d09152 (diff)
downloaddotemacs-439fb0e65fcf341b9f0b92c47f8aebe138bcb9e5.tar.gz
dotemacs-439fb0e65fcf341b9f0b92c47f8aebe138bcb9e5.zip
refactor: strip all literal colors from config modules
Remove every hardcoded color from the config so nothing assigns a non-themeable value. Stripped: the org-faces defface defaults (28 hex foregrounds, which the theme overrides at runtime anyway), the hl-todo keyword colors, the eshell prompt gray/white, the org-noter and music active-window #1d1b19 bg tint (face-remap is now a no-op), the pdf-view midnight palette, and the calibredb/nov epub sepia. The config now renders with default/theme faces, which surfaces where theming support is missing. Those gaps are tracked in todo.org as the next phase. 0 hex colors remain; validate-modules clean and the org-faces/build-theme/face-diagnostic tests pass.
Diffstat (limited to 'modules/eshell-config.el')
-rw-r--r--modules/eshell-config.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/eshell-config.el b/modules/eshell-config.el
index 723a7e61e..c2ec6d152 100644
--- a/modules/eshell-config.el
+++ b/modules/eshell-config.el
@@ -101,15 +101,15 @@ pairs where COMMAND is the `cd' string `eshell/alias' should run."
(setq eshell-prompt-function
(lambda ()
(concat
- (propertize (format-time-string "[%d-%m-%y %T]") 'face '(:foreground "gray"))
+ (propertize (format-time-string "[%d-%m-%y %T]") 'face 'default)
" "
- (propertize (user-login-name) 'face '(:foreground "gray"))
+ (propertize (user-login-name) 'face 'default)
" "
- (propertize (system-name) 'face '(:foreground "gray"))
+ (propertize (system-name) 'face 'default)
":"
- (propertize (abbreviate-file-name (eshell/pwd)) 'face '(:foreground "gray"))
+ (propertize (abbreviate-file-name (eshell/pwd)) 'face 'default)
"\n"
- (propertize "%" 'face '(:foreground "white"))
+ (propertize "%" 'face 'default)
" ")))
(add-hook