aboutsummaryrefslogtreecommitdiff
path: root/modules/org-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-14 14:22:07 -0500
committerCraig Jennings <c@cjennings.net>2026-06-14 14:22:07 -0500
commit808607872702075e638e5813f3c2958c100cdb6c (patch)
tree33769fc694566c502fb92ededa56216aba345e0f /modules/org-config.el
parentaf2ad1febf87027cbd4408312c1fff2815a9a0ff (diff)
downloaddotemacs-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/org-config.el')
-rw-r--r--modules/org-config.el17
1 files changed, 1 insertions, 16 deletions
diff --git a/modules/org-config.el b/modules/org-config.el
index d2a0be34f..34b618d1a 100644
--- a/modules/org-config.el
+++ b/modules/org-config.el
@@ -63,23 +63,8 @@
;; -------------------------- Org Appearance Settings --------------------------
(defun cj/org-appearance-settings()
- "Set foreground, background, and font styles for org mode."
+ "Set org-mode appearance options (org faces are left to the theme)."
(interactive)
- ;; org-hide should use fix-pitch to align indents for proportional fonts
- (set-face-attribute 'org-hide nil :inherit 'fixed-pitch)
- (set-face-attribute 'org-meta-line nil :inherit 'shadow)
-
- ;; Remove foreground and background from block faces
- (set-face-attribute 'org-block nil :foreground 'unspecified :background 'unspecified)
- (set-face-attribute 'org-block-begin-line nil :foreground 'unspecified :background 'unspecified)
- (set-face-attribute 'org-block-end-line nil :foreground 'unspecified :background 'unspecified)
-
- ;; Get rid of the background on column views
- (set-face-attribute 'org-column nil :background 'unspecified)
- (set-face-attribute 'org-column-title nil :background 'unspecified)
-
- ;; make sure org-links are underlined
- (set-face-attribute 'org-link nil :underline t)
(setq org-ellipsis " ▾") ;; change ellipses to down arrow
(setq org-hide-emphasis-markers t) ;; hide emphasis markers (org-appear shows them when editing)