tron-legacy-theme.el 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. ;; Tron Color Theme for Emacs.
  2. ;;
  3. ;; MIT License Copyright (c) 2012 Ivan Marcin <ivan at ivanmarcin dot com>
  4. ;;
  5. ;; All patches welcome
  6. ;; --------------
  7. ;; This porting makes tron no longer rely on color-theme package,
  8. ;; since Emacs has it's theme mechanism from Emacs 24.
  9. ;; How to use:
  10. ;; copy the theme file to your themes folder or create one in your home directory.
  11. ;; edit init.el and add this 2 lines:
  12. ;;(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/")
  13. ;;(load-theme `tron t)
  14. ;;
  15. ;; or
  16. ;; load it manually by pressing
  17. ;; M-x load-theme, then choose tron, it should work
  18. ;; Or, simple use (load-theme 'tron t) to enable the theme from start.
  19. ;;; tron-theme
  20. ;;; Code
  21. (deftheme tron-legacy
  22. "Based on Color theme by Ivan Marcin, created 2012-08-25")
  23. (custom-theme-set-faces
  24. 'tron-legacy
  25. '(default ((t (:background "black" :foreground "cadet blue" ))))
  26. '(bold ((t (:bold t))))
  27. '(bold-italic ((t (:bold t))))
  28. '(cursor ((t (:background "cyan"))))
  29. '(border-glyph ((t (nil))))
  30. '(fringe ((t (:background "CadetBlue"))))
  31. '(mode-line ((t (:foreground "#072d40" :background "#99bac7"))))
  32. '(region ((t (:background "steel blue"))))
  33. '(font-lock-builtin-face ((t (:foreground "#559ff1"))))
  34. '(font-lock-comment-face ((t (:foreground "#575b5b"))))
  35. '(font-lock-function-name-face ((t (:foreground "#ec9346"))))
  36. '(font-lock-keyword-face ((t (:foreground "#a4cee5"))))
  37. '(font-lock-string-face ((t (:foreground "#e8b778"))))
  38. '(font-lock-type-face ((t (:foreground"#74abbe"))))
  39. '(font-lock-constant-face ((t (:foreground "#eeedec"))))
  40. '(font-lock-variable-name-face ((t (:foreground "#9ebbc2"))))
  41. '(minibuffer-prompt ((t (:foreground "#729fcf" :bold t))))
  42. '(font-lock-warning-face ((t (:foreground "red" :bold t))))
  43. )
  44. (provide-theme 'tron-legacy)
  45. ;;eof