Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Emacs eclipse-theme
(deftheme eclipse
"Color theme from Eclipse.")
(let ((class '((class color) (min-colors 89)))
(eclipse-bg "#ffffff")
(eclipse-fg "#000000")
(eclipse-const "#110099")
(eclipse-comment "#3F7F5F")
(eclipse-error "#FF0000")
(eclipse-builtin "#7F0055")
(eclipse-string "#2A00FF")
(eclipse-blue-3 "#758BC6")
(eclipse-region "#f9b593")
(eclipse-shadow "grey50"))
(custom-theme-set-faces
'eclipse
`(default ((,class (:background ,eclipse-bg :foreground ,eclipse-fg
:height 113
:family "DejaVu Sans Mono"))))
`(font-lock-builtin-face ((,class (:foreground ,eclipse-builtin :bold t))))
`(font-lock-comment-face ((,class (:foreground ,eclipse-comment :slant normal))))
`(font-lock-constant-face ((,class (:foreground ,eclipse-const))))
`(font-lock-doc-face ((,class (:foreground ,eclipse-string))))
`(font-lock-doc-string-face ((,class (:foreground ,eclipse-string))))
`(font-lock-function-name-face ((,class (:foreground ,eclipse-fg :bold t))))
`(font-lock-keyword-face ((,class (:foreground ,eclipse-builtin :weight bold))))
`(font-lock-preprocessor-face ((,class (:foreground ,eclipse-builtin :bold t))))
`(font-lock-regexp-grouping-backslash ((,class (:foreground ,eclipse-builtin))))
`(font-lock-regexp-grouping-construct ((,class (:foreground ,eclipse-builtin))))
`(font-lock-string-face ((,class (:foreground ,eclipse-string))))
`(font-lock-type-face ((,class (:foreground ,eclipse-fg :underline t :slant italic))))
`(font-lock-variable-name-face ((,class (:foreground ,eclipse-fg))))
`(font-lock-warning-face ((,class (:foreground ,eclipse-error :weight bold))))
`(org-code ((,class (:foreground ,eclipse-builtin :weight bold))))
`(org-verbatim ((,class (:foreground ,eclipse-const))))
`(shadow ((,class (:foreground ,eclipse-shadow))))
`(success ((,class (:foreground ,eclipse-error))))
`(error ((,class (:foreground ,eclipse-error :weight bold))))
`(warning ((,class (:foreground "DarkOrange" :weight bold))))
`(cursor ((,class (:background ,eclipse-fg))))
`(fringe ((,class (:background ,eclipse-bg))))
`(region ((,class (:background ,eclipse-region :foreground ,eclipse-bg))))
`(secondary-selection ((,class (:background "#333366" :foreground "#f6f3e8"))))
`(mode-line-buffer-id ((,class)))))
(custom-theme-set-variables
'eclipse
'(ansi-color-names-vector ["#242424" "#e5786d" "#95e454" "#cae682"
"#8ac6f2" "#333366" "#ccaa8f" "#f6f3e8"]))
;; Local Variables:
;; no-byte-compile: t
;; End:
(provide 'eclipse-theme)
;;; eclipse-theme.el ends here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.