aboutsummaryrefslogtreecommitdiff
path: root/modules/music-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
commit6a630b9c31ef2de7553ec3d439fd350c10abfbe7 (patch)
tree806911706612553bd50713d698061642537bdd51 /modules/music-config.el
parent595490893cda28a61255ab79c001a7db7fa9aef7 (diff)
downloaddotemacs-6a630b9c31ef2de7553ec3d439fd350c10abfbe7.tar.gz
dotemacs-6a630b9c31ef2de7553ec3d439fd350c10abfbe7.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/music-config.el')
-rw-r--r--modules/music-config.el48
1 files changed, 0 insertions, 48 deletions
diff --git a/modules/music-config.el b/modules/music-config.el
index 799db1333..be836429b 100644
--- a/modules/music-config.el
+++ b/modules/music-config.el
@@ -722,54 +722,6 @@ For URL tracks: decoded URL."
(setq emms-track-description-function #'cj/music--track-description)
- ;; Playlist faces
- (defface cj/music-header-face
- '((((class color) (background dark))
- (:foreground "#969385"))
- (((class color) (background light))
- (:foreground "gray50")))
- "Face for playlist header labels.")
-
- (defface cj/music-header-value-face
- '((((class color) (background dark))
- (:foreground "#d0cbc0"))
- (((class color) (background light))
- (:foreground "gray30")))
- "Face for playlist header values.")
-
- (defface cj/music-mode-on-face
- '((((class color) (background dark))
- (:foreground "#d7af5f"))
- (((class color) (background light))
- (:foreground "DarkGoldenrod")))
- "Face for active mode indicators in the playlist header.")
-
- (defface cj/music-mode-off-face
- '((((class color) (background dark))
- (:foreground "#58574e"))
- (((class color) (background light))
- (:foreground "gray70")))
- "Face for inactive mode indicators in the playlist header.")
-
- (defface cj/music-keyhint-face
- '((((class color) (background dark))
- (:foreground "#8a9496"))
- (((class color) (background light))
- (:foreground "gray50")))
- "Face for keybinding hints in the playlist header.")
-
- (custom-set-faces
- '(emms-playlist-track-face
- ((((class color) (background dark))
- (:foreground "#8a9496"))
- (((class color) (background light))
- (:foreground "gray50"))))
- '(emms-playlist-selected-face
- ((((class color) (background dark))
- (:foreground "#d7af5f" :weight bold))
- (((class color) (background light))
- (:foreground "DarkGoldenrod" :weight bold)))))
-
;; Multi-line header overlay
(defvar-local cj/music--header-overlay nil
"Overlay displaying the playlist header.")