You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

89 lines
3.4 KiB

  1. ;; This program is free software; you can redistribute it and/or modify
  2. ;; it under the terms of the GNU General Public License as published by
  3. ;; the Free Software Foundation, either version 3 of the License, or
  4. ;; (at your option) any later version.
  5. ;; This program is distributed in the hope that it will be useful,
  6. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  7. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  8. ;; GNU General Public License for more details.
  9. ;; You should have received a copy of the GNU General Public License
  10. ;; along with this program. If not, see <http://www.gnu.org/licenses/>.
  11. ;; ---------------------------
  12. ;;
  13. ;; Fogus: An icy dark blue color theme
  14. ;;
  15. ;; ----------------------------
  16. (unless (>= emacs-major-version 24)
  17. (error "requires Emacs 24 or later."))
  18. (deftheme fogus
  19. "A bluecolor theme")
  20. (let ((fogus-background "#14191F")
  21. (fogus-foreground "#AEC2E0")
  22. (fogus-mid-gray "#666666")
  23. (fogus-darker-gray "#14191f")
  24. (fogus-white "#FFFFFF")
  25. (fogus-off-white "#F8F8F0")
  26. (fogus-yellow-white "#FFE792")
  27. (fogus-light-gray-blue "#d0dfe6")
  28. (fogus-lightest-blue "#effbff")
  29. (fogus-lighter-blue "#748aa6")
  30. (fogus-light-blue "#6ee2ff")
  31. (fogus-blue "#324357")
  32. (fogus-dark-blue "#183c66")
  33. (fogus-darker-blue "#1b232c")
  34. (fogus-green "#95cc5e"))
  35. (custom-theme-set-faces
  36. 'fogus
  37. ;; ----------------- Frame stuff --------------------
  38. `(default ((t (:background ,fogus-background :foreground ,fogus-foreground))))
  39. `(cursor ((t (:background ,fogus-off-white))))
  40. `(hl-line ((t (:background ,fogus-mid-gray))))
  41. `(modeline ((t (:background ,fogus-dark-blue :foreground ,fogus-white))))
  42. `(mode-line-inactive ((t (:box nil :background ,fogus-mid-gray :foreground ,fogus-light-gray-blue))))
  43. `(mode-line ((t (:box nil :foreground ,fogus-white :background ,fogus-dark-blue))))
  44. `(fringe ((t (:background ,fogus-darker-gray))))
  45. ;; Dir-ed search prompt
  46. `(minibuffer-prompt ((default (:foreground ,fogus-white))))
  47. ;; Highlight region color
  48. `(region ((t (:foreground ,fogus-yellow-white :background ,fogus-darker-blue))))
  49. ;; ---------------- Code Highlighting ---------------
  50. ;; Builtin
  51. `(font-lock-builtin-face ((t (:foreground ,fogus-light-blue))))
  52. ;; Comments
  53. `(font-lock-comment-face ((t (:foreground ,fogus-blue))))
  54. ;; Function names
  55. `(font-lock-function-name-face ((t (:foreground ,fogus-lightest-blue))))
  56. ;; Keywords
  57. `(font-lock-keyword-face ((t (:foreground ,fogus-lighter-blue))))
  58. ;; Strings
  59. `(font-lock-string-face ((t (:foreground ,fogus-light-blue))))
  60. ;; Variables
  61. `(font-lock-variable-name-face ((t (:foreground ,fogus-light-gray-blue))))
  62. `(font-lock-type-face ((t (:foreground ,fogus-green))))
  63. `(font-lock-warning-face ((t (:foreground ,fogus-white :bold t))))
  64. ;; ---------------- Package Specific Stuff -----------
  65. ;; Powerline
  66. `(powerline-active1 ((t (:background ,fogus-off-white :foreground ,fogus-background))))))
  67. ;;;###Autoload
  68. (when load-file-name
  69. (add-to-list 'custom-theme-load-path
  70. (file-name-as-directory (file-name-directory load-file-name)))
  71. (when (not window-system)
  72. (custom-set-faces '(default ((t (:background nil)))))))
  73. (provide-theme 'fogus)
  74. ;; Local Variables:
  75. ;; no-byte-compile: t
  76. ;; End: