Skip to content

Instantly share code, notes, and snippets.

@riicchhaarrd
Created March 28, 2022 09:14
Show Gist options
  • Save riicchhaarrd/208d006cda6ad75fb4c87093d00434fd to your computer and use it in GitHub Desktop.
Save riicchhaarrd/208d006cda6ad75fb4c87093d00434fd to your computer and use it in GitHub Desktop.
custom emacs theme
(deftheme my
"My theme for Emacs")
(custom-theme-set-faces
'my
'(font-lock-function-name-face ((t (:foreground "#523112" :weight normal))))
'(font-lock-string-face ((t (:foreground "#606060"))))
'(font-lock-type-face ((t (:foreground "#044333"))))
'(font-lock-constant-face ((t (:foreground "blue"))))
'(font-lock-builtin-face ((t (:foreground "#70312a"))))
'(flymake-error ((t (:foreground "red" :underline (:color "red" :style wave)))))
'(eglot-highlight-symbol-face ((t (:background "#ece6d6"))))
'(font-lock-variable-name-face ((t (:foreground "#1f377f" :weight normal))))
'(region ((t (:extend t :background "#99c9ef"))))
'(shadow ((t (:foreground "#7F7F7F"))))
'(cursor ((t (:background "blue"))))
'(highlight ((t (:underline nil :background "#9bff9b"))))
'(secondary-selection ((t (:weight bold :extend t :background "#9bff9b"))))
'(minibuffer-prompt ((t (:weight bold :foreground "black" :background "gold"))))
;; seems ok?
'(fixed-pitch ((t (:family "Monospace"))))
'(variable-pitch ((((type w32)) (:foundry "outline" :family "Arial")) (t (:family "Sans Serif"))))
)
(provide-theme 'my)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment