diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-14 14:22:07 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-14 14:22:07 -0500 |
| commit | 808607872702075e638e5813f3c2958c100cdb6c (patch) | |
| tree | 33769fc694566c502fb92ededa56216aba345e0f /modules/prog-general.el | |
| parent | af2ad1febf87027cbd4408312c1fff2815a9a0ff (diff) | |
| download | dotemacs-808607872702075e638e5813f3c2958c100cdb6c.tar.gz dotemacs-808607872702075e638e5813f3c2958c100cdb6c.zip | |
refactor(faces): let the theme own face appearance
Strip per-module face configuration so the active theme is the single source of face styling. Removed the dired text-greying set-face-attribute calls (kept the buffer-local face-remap), the org appearance set-face-attribute calls, the highlight-indent-guides colors, the rainbow-delimiters depth colors (which were overriding the theme's blue with red), and the cj/music-* defface forms plus the emms-playlist custom-set-faces. Left nerd-icons' set-face-foreground alone, since it's runtime tint logic rather than static config. Each touched file is backed up beside it as <name>.el.faces.bak (untracked). The cj/music-* faces now come from the theme instead of the module, so until the theme provides them music rendering falls back to the default face.
Diffstat (limited to 'modules/prog-general.el')
| -rw-r--r-- | modules/prog-general.el | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/modules/prog-general.el b/modules/prog-general.el index 8b4dedda4..cb46ce6b8 100644 --- a/modules/prog-general.el +++ b/modules/prog-general.el @@ -336,14 +336,9 @@ defer to `electric-pair-default-inhibit' for any other CHAR." (use-package highlight-indent-guides :hook (prog-mode . cj/highlight-indent-guides-enable) :config - ;; Disable auto face coloring to use explicit faces for better visibility across themes + ;; Disable auto face coloring; the guide faces are left to the theme (setq highlight-indent-guides-auto-enabled nil) - ;; Set explicit face backgrounds and foreground for the indentation guides - (set-face-background 'highlight-indent-guides-odd-face "darkgray") - (set-face-background 'highlight-indent-guides-even-face "darkgray") - (set-face-foreground 'highlight-indent-guides-character-face "dimgray") - (defun cj/highlight-indent-guides-enable () "Enable highlight-indent-guides with preferred settings for programming modes." (setq-local highlight-indent-guides-method 'bitmap) |
