SHARE
TWEET

Laurence's monochrome emacs theme

a guest Sep 28th, 2017 137 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;;; laurence-mono-theme.el --- A monochrome theme for Emacs, by Laurence
  2. ;;; Commentary:
  3. ;;; Code:
  4. (deftheme laurence-mono
  5.   "Laurence's custom monochrome theme.")
  6.  
  7. (let ((background "#141414")
  8.       (standard-text "snow")
  9.       (dark-grey "#616161")
  10.       (medium-grey "#8e8e8e")
  11.       (light-grey "#c5c5c5"))
  12.   (custom-theme-set-faces
  13.    'laurence-mono
  14.    ;; Defaults
  15.    `(default ((t (:background ,background :foreground ,standard-text :family "Input" :height 120 :width normal))))
  16.    '(cursor ((t (:background  "lawn green"))))
  17.    `(fringe ((t (:background ,dark-grey))))
  18.    `(region ((t (:background ,light-grey))))
  19.    '(minibuffer-prompt ((t (:weight bold))))
  20.    `(link ((t (:foreground ,light-grey :underline t))))
  21.    ;; prog-mode
  22.    '(font-lock-keyword-face ((t (:weight bold))))
  23.    `(font-lock-type-face ((t (:foreground ,light-grey :weight bold))))
  24.    `(font-lock-variable-name-face ((t (:foreground ,medium-grey))))
  25.    `(font-lock-function-name-face ((t (:slant italic))))
  26.    `(font-lock-constant-face ((t (:foreground ,medium-grey :weight bold))))
  27.    `(font-lock-comment-face ((t (:foreground ,dark-grey))))
  28.    `(font-lock-string-face ((t (:foreground ,light-grey))))
  29.    `(font-lock-preprocessor-face ((t (:slant italic))))
  30.    ;; org-mode
  31.    `(org-level-1 ((t (:height 1.8 :weight bold))))
  32.    `(org-level-2 ((t (:height 1.4))))
  33.    `(org-level-3 ((t (:height 1.2))))
  34.    `(org-level-4 ((t (:height 1.1))))
  35.    `(org-level-5 ((t (:height 1.1))))
  36.    `(org-level-6 ((t (:height 1.0))))
  37.    '(org-todo ((t (:foreground "red"))))
  38.    '(org-done ((t (:foreground "green" :strike-through t))))
  39.    '(org-checkbox-statistics-done ((t (:foreground "green" :strike-through nil))))
  40.    `(org-checkbox ((t (:box (:line-width -1 :style released-button :color ,dark-grey) :background ,dark-grey))))
  41.    ;; ERC
  42.    `(erc-input-face ((t (:inherit default))))))
  43.  
  44. (provide-theme 'laurence-mono)
  45. ;;; laurence-mono-theme.el ends here
RAW Paste Data
Pastebin PRO Autumn Special!
Get 40% OFF on Pastebin PRO accounts!
Top