Skip to content

Instantly share code, notes, and snippets.

@comstock
Created October 20, 2025 17:01
Show Gist options
  • Select an option

  • Save comstock/6db7413b2d0a12cba5a4fa758dce1f7f to your computer and use it in GitHub Desktop.

Select an option

Save comstock/6db7413b2d0a12cba5a4fa758dce1f7f to your computer and use it in GitHub Desktop.
Emacs colors configuration for better legibility
## Add this config file to ~/.emacs.d/ direcotry
##
;; ---------- Emacs color customization ----------
;; Make blue text easier to read on dark terminals.
(custom-set-faces
'(font-lock-keyword-face ((t (:foreground "DeepSkyBlue3" :weight bold))))
'(font-lock-function-name-face ((t (:foreground "cyan1"))))
'(font-lock-type-face ((t (:foreground "LightGoldenrod"))))
'(font-lock-comment-face ((t (:foreground "LightSalmon3" :slant italic))))
'(font-lock-string-face ((t (:foreground "LightGreen"))))
'(minibuffer-prompt ((t (:foreground "white" :weight bold))))
)
;; Optional: use a dark background-friendly theme
(load-theme 'wombat t)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment