Skip to content

Instantly share code, notes, and snippets.

@jneen
Created November 8, 2016 19:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jneen/e6fbdcce99eba323a787b1c83b72efdd to your computer and use it in GitHub Desktop.
Save jneen/e6fbdcce99eba323a787b1c83b72efdd to your computer and use it in GitHub Desktop.
(deftheme thankful-eyes "a port of the thankful eyes theme from gtksourceview")
(let ((class '((class color) (min-colors 89)))
(cool-as-ice (if (display-graphic-p) "#6c8b9f" "#6c8b9f"))
(slate-blue (if (display-graphic-p) "#4e5d62" "#4e5d62"))
(eggshell-cloud (if (display-graphic-p) "#dee5e7" "#dee5e7"))
(krasna (if (display-graphic-p) "#122B36" "#121212"))
(aluminium1 (if (display-graphic-p) "#fefeec" "#fefeec"))
(scarletred2 (if (display-graphic-p) "#cc0000" "#cc0000"))
(butter3 (if (display-graphic-p) "#c4a000" "#c4a000"))
(go-get-it (if (display-graphic-p) "#B2FD6D" "#B2FD6D"))
(chilly (if (display-graphic-p) "#A8E1FE" "#A8E1FE"))
(unicorn (if (display-graphic-p) "#faf6e4" "#faf6e4"))
(sandy (if (display-graphic-p) "#F6DD62" "#F6DD62"))
(pink-merengue (if (display-graphic-p) "#F696DB" "#F696DB"))
(dune (if (display-graphic-p) "#FFF0A6" "#FFF0A6"))
(backlit (if (display-graphic-p) "#4DF4FF" "#4DF4FF"))
(schrill (if (display-graphic-p) "#ffb000" "#ffb000")))
(custom-theme-set-faces
'thankful-eyes
`(default ((,class (:foreground ,unicorn :background ,(if (display-graphic-p) krasna nil)))))
`(cursor ((,class (:background ,unicorn))))
`(vertical-border ((,class (:foreground ,scarletred2) (:background ,sandy))))
`(fringe ((,class (:foreground ,scarletred2) (:background ,sandy))))
`(highlight ((,class (:foreground ,aluminium1 :background ,cool-as-ice))))
`(region ((,class (:foreground ,aluminium1 :background ,cool-as-ice))))
`(hl-line ((,class (:background ,slate-blue))))
`(show-paren-match ((,class (:foreground ,eggshell-cloud :background ,butter3 :weight bold))))
`(show-paren-mismatch ((,class (:foreground ,eggshell-cloud :background ,scarletred2 :weight bold))))
`(font-lock-comment-face ((,class (:foreground ,cool-as-ice :slant italic))))
; `(font-lock-doc-face ((,class (:slant nil))))
`(font-lock-constant-face ((, class (:foreground ,pink-merengue :weight bold))))
`(font-lock-string-face ((,class (:foreground ,dune))))
`(font-lock-variable-name-face ((,class (:foreground ,chilly))))
`(font-lock-keyword-face ((,class (:foreground ,sandy :weight bold))))
`(font-lock-type-face ((,class (:foreground ,go-get-it))))
`(font-lock-preprocessor-face ((,class (:foreground ,go-get-it :weight bold))))
`(font-lock-warning-face ((,class (:foreground ,aluminium1 :background ,scarletred2 :weight bold))))
`(font-lock-builtin-face ((,class (:weight bold))))
`(font-lock-function-name-face ((,class (:foreground ,chilly))))
`(error ((,class (:foreground ,aluminium1 :background ,scarletred2 :weight bold))))
`(mode-line ((,class (:foreground ,krasna :background ,eggshell-cloud))))
`(mode-line-inactive ((,class (:foreground ,eggshell-cloud :background ,cool-as-ice))))
`(mode-line-buffer-id ((,class (:weight bold))))
`(powerline-active1 ((,class (:foreground ,krasna :background ,cool-as-ice))))
`(powerline-active2 ((,class (:foreground ,krasna :background ,eggshell-cloud))))
`(powerline-inactive1 ((,class (:foreground ,eggshell-cloud :background ,cool-as-ice))))
`(powerline-inactive2 ((,class (:foreground ,eggshell-cloud :background ,slate-blue))))
`(helm-match ((,class (:foreground ,krasna :background ,go-get-it))))
`(helm-header ((,class (:foreground ,krasna :background ,scarletred2))))
))
(provide-theme 'thankful-eyes)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment