Skip to content
Browse files

Reworked on the theme

  • Loading branch information...
1 parent e7348d1 commit 134f628a0bae09162392581113cb06ea5f96648e @reugene reugene committed
Showing with 90 additions and 17 deletions.
  1. +90 −17 darkness-theme.el
View
107 darkness-theme.el
@@ -1,13 +1,10 @@
-(defthem darkness
- "Face colors used in darkness (dark background).")
+(deftheme darkness
+ "Face colors using a darkness blue background.")
-(let '((class color) (min-colors 89))
+(let ((class '((class color) (min-colors 89))))
(custom-theme-set-faces
'darkness
- ;; Low contrast default colors
- `(default (:foreground "#B2B2B2" :background "#030F22"))
-
;; Highlighting faces
`(hl-line ((,class (:background "#01142B"))))
`(fringe ((,class (:foreground "#2123CE" :background "#0C1528"))))
@@ -15,27 +12,30 @@
`(region ((,class (:background "#181B27"))))
`(secondary-selection ((,class (:background "#204A87"))))
`(isearch ((,class (:foreground "#EEEEEC" :background "#CE5C00"))))
+ `(isearch-lazy-highlight-face ((,class (:background "coral4" :foreground "white"))))
`(lazy-highlight ((,class (:background "#8F5902"))))
`(trailing-whitespace ((,class (:background "#A40000"))))
;; Mode line faces
`(mode-line ((,class
- (:box (:line-width -1 :style released-button) :background "#D3d7CF" :foreground "#2E3436"))))
+ (:box (:line-width -1 :style released-button) :background "#D3d7CF" :foreground "#2E3436"))))
+ `(mode-line-buffer-id ((,class (:weight bold :background nil :foreground "blue4"))))
`(mode-line-inactive ((,class
- (:box (:line-width -1 :style released-button) :background "#555753" :foreground "#EEEEEC"))))
- ;; Escape and prompt faces
- `(minibuffer-prompt ((,class (:foreground "#B4FA70"))))
- `(escape-glyph ((,class (:foreground "#C4A000"))))
- `(error ((,class (:foreground "#FF4B4B"))))
- `(warning ((,class (:foreground "#FCAF3E"))))
- `(success ((,class (:foreground "#8AE234"))))
+ (:box (:line-width -1 :style released-button) :background "#555753" :foreground "#EEEEEC"))))
;; Font lock faces
`(font-lock-builtin-face ((,class (:foreground "#B294BB"))))
`(font-lock-comment-face ((,class (:foreground "#00A6FF"))))
+ `(font-lock-comment-delimiter-face ((,class (:foreground "gray50"))))
`(font-lock-constant-face ((,class (:foreground "#A4ED2D"))))
+ `(font-lock-doc-face ((,class (:foreground "moccasin"))))
+ `(font-lock-doc-string-face ((,class (:foreground "moccasin"))))
`(font-lock-function-name-face ((,class (:foreground "#815DB3"))))
`(font-lock-keyword-face ((,class (:foreground "#A4ED2D"))))
+ `(font-lock-preprocessor-face ((,class (:foreground "gold"))))
+ `(font-lock-reference-face ((,class (:foreground "LightCoral"))))
+ `(font-lock-regexp-grouping-backslash ((,class (:weight bold))))
+ `(font-lock-regexp-grouping-construct ((,class (:weight bold))))
`(font-lock-string-face ((,class (:foreground "#9ECFFD"))))
`(font-lock-type-face ((,class (:foreground "#815DB3"))))
`(font-lock-variable-name-face ((,class (:foreground "#815DB3"))))
@@ -56,7 +56,7 @@
;; SMerge faces
`(smerge-refined-change ((,class (:background "#204A87"))))
- ;; Ediff facesy
+ ;; Ediff faces
`(ediff-current-diff-A ((,class (:background "#555753"))))
`(ediff-fine-diff-A ((,class (:background "#204A87"))))
`(ediff-even-diff-A ((,class (:background "#41423F"))))
@@ -81,10 +81,83 @@
`(semantic-decoration-on-unparsed-includes
((,class (:background "#41423F"))))
`(semantic-tag-boundary-face ((,class (:overline "#729FCF"))))
- `(semantic-unmatched-syntax-face ((,class (:underline "#EF2929"))))))
+ `(semantic-unmatched-syntax-face ((,class (:underline "#EF2929"))))
+
+ ;; Info faces
+ `(Info-title-1-face ((,class (:family "helv" :weight bold :height 1.728))))
+ `(Info-title-2-face ((,class (:family "helv" :weight bold :height 1.44))))
+ `(Info-title-3-face ((,class (:family "helv" :weight bold :height 1.2))))
+ `(Info-title-4-face ((,class (:family "helv" :weight bold))))
-(provide-theme 'darkness)
+ ;; Completion faces
+ `(compilation-column-number ((,class (:foreground "LightGreen"))))
+ `(compilation-error ((,class (:foreground "Red1"))))
+ `(compilation-info ((,class (:weight normal :foreground "LightSkyBlue"))))
+ `(compilation-line-number ((,class (:foreground "LightGreen"))))
+
+ ;; cursor color
+ `(cursor ((,class (:background "green"))))
+
+ ;; diff faces
+ `(diff-added ((,class (nil))))
+ `(diff-changed ((,class (nil))))
+ `(diff-context ((,class (:foreground "seashell4"))))
+ `(diff-file-header ((,class (:background "grey60"))))
+ `(diff-function ((,class (:inherit diff-header))))
+ `(diff-header ((,class (:background "grey45"))))
+ `(diff-hunk-header ((,class (:inherit diff-header))))
+ `(diff-index ((,class (:inherit diff-file-header))))
+ `(diff-indicator-added ((,class (:foreground "white" :background "darkolivegreen"))))
+ `(diff-indicator-changed ((,class (:foreground "white" :background "dodgerblue4"))))
+ `(diff-indicator-removed ((,class (:foreground "white" :background "indianred4"))))
+ `(diff-refine-change ((,class (:background "skyblue4"))))
+ `(diff-removed ((,class (nil))))
+
+ ;; flymake faces
+ `(flymake-errline ((,class (:background nil :underline "red"))))
+ `(flymake-warnline ((,class (:background nil :underline "magenta3"))))
+
+ `(dired-marked ((,class (:background "dodgerblue3" :foreground "white"))))
+
+ ;; ido faces
+ `(ido-first-match ((,class (:weight normal :foreground "orange"))))
+ `(ido-only-match ((,class (:foreground "green"))))
+ `(ido-subdir ((,class (:foreground nil :inherit font-lock-keyword-face))))
+
+ ;; info faces
+ `(info-header-node ((,class (:foreground "DeepSkyBlue1"))))
+ `(info-header-xref ((,class (:foreground "SeaGreen2"))))
+ `(info-menu-header ((,class (:family "helv" :weight bold))))
+ `(info-node ((,class (:foreground "DeepSkyBlue1"))))
+ `(info-xref ((,class (:foreground "SeaGreen2"))))
+ ;; outline faces
+ `(outline-1 ((,class (:foreground "SkyBlue1"))))
+ `(outline-2 ((,class (:foreground "CadetBlue1"))))
+ `(outline-3 ((,class (:foreground "LightSteelBlue1"))))
+ `(outline-4 ((,class (:foreground "turquoise2"))))
+ `(outline-5 ((,class (:foreground "aquamarine1"))))
+
+ ;; Selection faces
+ `(primary-selection ((,class (:background "blue3"))))
+ `(match ((,class (:background "DeepPink4"))))
+
+ ;; parenthesis matching faces
+ `(show-paren-match-face ((,class (:background "dodgerblue1" :foreground "white"))))
+ `(show-paren-mismatch-face ((,class (:background "red1" :foreground "white"))))
+
+ ;; Escape and prompt faces
+ `(minibuffer-prompt ((,class (:foreground "#B4FA70"))))
+ `(escape-glyph ((,class (:foreground "#C4A000"))))
+ `(error ((,class (:foreground "#FF4B4B"))))
+ `(warning ((,class (:foreground "#FCAF3E"))))
+ `(success ((,class (:foreground "#8AE234"))))
+
+
+ ;; Low contrast default colors
+ `(default ((,class (:foreground "#B2B2B2" :background "#030F22"))))))
+
+(provide-theme 'darkness)
;; Local Variables:
;; no-byte-compile: t
;; End:

0 comments on commit 134f628

Please sign in to comment.
Something went wrong with that request. Please try again.