aboutsummaryrefslogtreecommitdiff
path: root/modules/org-noter-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
commit88fab63d9ef11630bf6d28fb492873e901e0f156 (patch)
tree9da9a428064249b68c441280e77c66a9404313ea /modules/org-noter-config.el
parent64b4371519c0a6e53e013aa34dfab6d6ba0d927c (diff)
downloaddotemacs-88fab63d9ef11630bf6d28fb492873e901e0f156.tar.gz
dotemacs-88fab63d9ef11630bf6d28fb492873e901e0f156.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/org-noter-config.el')
-rw-r--r--modules/org-noter-config.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/org-noter-config.el b/modules/org-noter-config.el
index b9b7bbff..f28f61bb 100644
--- a/modules/org-noter-config.el
+++ b/modules/org-noter-config.el
@@ -307,7 +307,7 @@ From a PDF/EPUB: starts org-noter session if inactive, then inserts note."
(cond
((and active (not cj/org-noter--bg-remap-cookie))
(setq cj/org-noter--bg-remap-cookie
- (face-remap-add-relative 'default :background "#1d1b19")))
+ (face-remap-add-relative 'default)))
((and (not active) cj/org-noter--bg-remap-cookie)
(face-remap-remove-relative cj/org-noter--bg-remap-cookie)
(setq cj/org-noter--bg-remap-cookie nil))))))))