diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-25 12:36:03 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-25 12:36:03 -0400 |
| commit | 439fb0e65fcf341b9f0b92c47f8aebe138bcb9e5 (patch) | |
| tree | d52dca9be96825cd808f642a1d3976fcc8dee1a2 /modules/calibredb-epub-config.el | |
| parent | 0ac6d798b48a7d075a7da4485832990872d09152 (diff) | |
| download | dotemacs-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/calibredb-epub-config.el')
| -rw-r--r-- | modules/calibredb-epub-config.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/calibredb-epub-config.el b/modules/calibredb-epub-config.el index 6c69ca0e8..1e6437d26 100644 --- a/modules/calibredb-epub-config.el +++ b/modules/calibredb-epub-config.el @@ -313,11 +313,11 @@ A positive DELTA narrows the text column; a negative DELTA widens it." "Apply preferences after nov-mode has launched." (interactive) ;; Use Merriweather for comfortable reading with appropriate scaling. - ;; Darker sepia color (#E8DCC0) is easier on the eyes than pure white. - (let ((sepia "#E8DCC0")) - (face-remap-add-relative 'variable-pitch :family "Merriweather" :height 1.0 :foreground sepia) - (face-remap-add-relative 'default :family "Merriweather" :height 180 :foreground sepia) - (face-remap-add-relative 'fixed-pitch :height 180 :foreground sepia)) + ;; (Reading fg color stripped; falls back to the theme default until a + ;; themeable reading face exists -- see todo.org.) + (face-remap-add-relative 'variable-pitch :family "Merriweather" :height 1.0) + (face-remap-add-relative 'default :family "Merriweather" :height 180) + (face-remap-add-relative 'fixed-pitch :height 180) ;; Enable visual-line-mode for proper text wrapping (visual-line-mode 1) ;; Set fill-column as a fallback |
