color-theme-railscast.el 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. ;; Railscasts color theme for Emacs.
  2. ;;
  3. ;; To use add the following to your .emacs file:
  4. ;;
  5. ;; (require 'color-theme)
  6. ;; (color-theme-initialize)
  7. ;; (load-file "~/.emacs.d/site-lisp/themes/color-theme-railscasts.el")
  8. ;; (color-theme-railscasts)
  9. ;;
  10. ;; MIT License Copyright (c) 2009 Oleg Shaldybin <oleg.shaldybin@gmail.com>
  11. ;; Inspired by the brilliant Railscasts theme for TextMate
  12. ;;
  13. (defun color-theme-railscasts ()
  14. (interactive)
  15. (color-theme-install
  16. '(color-theme-railscasts
  17. ((background-color . "#232323")
  18. (background-mode . dark)
  19. (cursor-color . "#5A647E")
  20. (foreground-color . "#E6E1DC"))
  21. (default ((t (nil))))
  22. (bold ((t (:bold t))))
  23. (bold-italic ((t (:italic t :bold t))))
  24. (fringe ((t (:background "#232323"))))
  25. (font-lock-builtin-face ((t (:foreground "#D0D0FF"))))
  26. (font-lock-comment-face ((t (:foreground "#BC9458" :italic t))))
  27. (font-lock-constant-face ((t (:foreground "#6D9CBE"))))
  28. (font-lock-doc-string-face ((t (:foreground "#A5C261"))))
  29. (font-lock-function-name-face ((t (:foreground "#FFC66D"))))
  30. (font-lock-keyword-face ((t (:foreground "#CC7833"))))
  31. (font-lock-preprocessor-face ((t (:foreground "#CC7833"))))
  32. (font-lock-reference-face ((t (:foreground "LightSteelBlue"))))
  33. (font-lock-string-face ((t (:foreground "#A5C261"))))
  34. (font-lock-type-face ((t (:foreground "white"))))
  35. (font-lock-variable-name-face ((t (:foreground "LightSteelBlue"))))
  36. (font-lock-warning-face ((t (:foreground "Pink"))))
  37. (paren-face-match-light ((t (:foreground "#FFC66D" :background "#555577"))))
  38. (highlight ((t (:background "darkolivegreen"))))
  39. (italic ((t (:italic t))))
  40. (modeline ((t (:background "#A5BAF1" :foreground "black"))))
  41. (modeline-buffer-id ((t (:background "#A5BAF1" :foreground
  42. "black"))))
  43. (modeline-mousable ((t (:background "#A5BAF1" :foreground
  44. "black"))))
  45. (modeline-mousable-minor-mode ((t (:background
  46. "#A5BAF1" :foreground "black"))))
  47. (region ((t (:background "#555577"))))
  48. (primary-selection ((t (:background "#555577"))))
  49. (isearch ((t (:background "#555555"))))
  50. (zmacs-region ((t (:background "#555577"))))
  51. (secondary-selection ((t (:background "darkslateblue"))))
  52. (flymake-errline ((t (:background "LightSalmon" :foreground
  53. "black"))))
  54. (flymake-warnline ((t (:background "LightSteelBlue" :foreground
  55. "black"))))
  56. (underline ((t (:underline t))))
  57. (minibuffer-prompt ((t (:bold t :foreground "#FF6600"))))
  58. ;; two org-mode faces
  59. (org-document-info-keyword ((t (:foreground "#BC9458" :bold t))))
  60. (org-document-title ((t (:foreground "#BC9458" :bold t))))
  61. )))