aboutsummaryrefslogtreecommitdiff
path: root/modules/prog-general.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/prog-general.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/prog-general.el')
-rw-r--r--modules/prog-general.el11
1 files changed, 1 insertions, 10 deletions
diff --git a/modules/prog-general.el b/modules/prog-general.el
index 8e317413c..f22f89923 100644
--- a/modules/prog-general.el
+++ b/modules/prog-general.el
@@ -384,16 +384,7 @@ defer to `electric-pair-default-inhibit' for any other CHAR."
(use-package hl-todo
:defer 1
:hook
- (prog-mode . hl-todo-mode)
- :config
- (setq hl-todo-keyword-faces
- '(("FIXME" . "#FF0000")
- ("BUG" . "#FF0000")
- ("HACK" . "#FF0000")
- ("ISSUE" . "#DAA520")
- ("TASK" . "#DAA520")
- ("NOTE" . "#2C780E")
- ("WIP" . "#1E90FF"))))
+ (prog-mode . hl-todo-mode))
;; --------------------------- Whitespace Management ---------------------------
;; trims trailing whitespace only from lines you've modified when saving buffer