Created
October 20, 2025 17:01
-
-
Save comstock/6db7413b2d0a12cba5a4fa758dce1f7f to your computer and use it in GitHub Desktop.
Emacs colors configuration for better legibility
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## 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