diff options
Diffstat (limited to 'emacs.d/Drobillarized-theme.el')
-rw-r--r-- | emacs.d/Drobillarized-theme.el | 245 |
1 files changed, 125 insertions, 120 deletions
diff --git a/emacs.d/Drobillarized-theme.el b/emacs.d/Drobillarized-theme.el index 6482e3c..7210aef 100644 --- a/emacs.d/Drobillarized-theme.el +++ b/emacs.d/Drobillarized-theme.el @@ -1,132 +1,137 @@ (deftheme Drobillarized "Subdued theme based on Solarized palette.") -(custom-theme-set-variables - 'Drobillarized - ) +(defgroup drobillized nil + "Drobillized theme options. +Reload the theme after changing anything in this group." + :group 'faces) + +;; Background (dark) +(defcustom base03 "#002B36" "Dark base 3" :group 'drobillarized :type '(color)) +(defcustom base02 "#073642" "Dark base 2" :group 'drobillarized :type '(color)) -(let (;; Background (dark) - (base03 "#002B36") - (base02 "#073642") +;; Content +(defcustom base01 "#586E75" "Dark content 1" :group 'drobillarized :type '(color)) +(defcustom base00 "#657B83" "Dark content 0" :group 'drobillarized :type '(color)) +(defcustom base0 "#839496" "Light content 0" :group 'drobillarized :type '(color)) +(defcustom base1 "#93A1A1" "Light content 1" :group 'drobillarized :type '(color)) - ;; Content - (base01 "#586E75") - (base00 "#657B83") - (base0 "#839496") - (base1 "#93A1A1") +;; Background (light) +(defcustom base2 "#EEE8D5" "Light base 2" :group 'drobillarized :type '(color)) +(defcustom base3 "#FDF6E3" "Light base 3" :group 'drobillarized :type '(color)) - ;; Background (light) - (base2 "#EEE8D5") - (base3 "#FDF6E3") +;; Basic colors +(defcustom yellow "#B58900" "Yellow" :group 'drobillarized :type '(color)) +(defcustom orange "#CB4B16" "Orange" :group 'drobillarized :type '(color)) +(defcustom red "#DC322F" "Red" :group 'drobillarized :type '(color)) +(defcustom magenta "#D33682" "Magenta" :group 'drobillarized :type '(color)) +(defcustom violet "#6C71C4" "Violet" :group 'drobillarized :type '(color)) +(defcustom blue "#268BD2" "Blue" :group 'drobillarized :type '(color)) +(defcustom cyan "#2AA198" "Cyan" :group 'drobillarized :type '(color)) +(defcustom green "#859900" "Green" :group 'drobillarized :type '(color)) - ;; Basic colors - (yellow "#B58900") - (orange "#CB4B16") - (red "#DC322F") - (magenta "#D33682") - (violet "#6C71C4") - (blue "#268BD2") - (cyan "#2AA198") - (green "#859900") +;; Darker colors +(defcustom yellow-d "#7B6000" "Dark yellow" :group 'drobillarized :type '(color)) +(defcustom orange-d "#8B2C02" "Dark orange" :group 'drobillarized :type '(color)) +(defcustom red-d "#990A1B" "Dark red" :group 'drobillarized :type '(color)) +(defcustom magenta-d "#93115C" "Dark magenta" :group 'drobillarized :type '(color)) +(defcustom violet-d "#3F4D91" "Dark violet" :group 'drobillarized :type '(color)) +(defcustom blue-d "#00629D" "Dark blue" :group 'drobillarized :type '(color)) +(defcustom cyan-d "#00736F" "Dark cyan" :group 'drobillarized :type '(color)) +(defcustom green-d "#546E00" "Dark green" :group 'drobillarized :type '(color)) - ;; Darker colors - (yellow-d "#7B6000") - (orange-d "#8B2C02") - (red-d "#990A1B") - (magenta-d "#93115C") - (violet-d "#3F4D91") - (blue-d "#00629D") - (cyan-d "#00736F") - (green-d "#546E00") +;; Lighter colors +(defcustom yellow-l "#DEB542" "Light yellow" :group 'drobillarized :type '(color)) +(defcustom orange-l "#F2804F" "Light orange" :group 'drobillarized :type '(color)) +(defcustom red-l "#FF6E64" "Light red" :group 'drobillarized :type '(color)) +(defcustom magenta-l "#F771AC" "Light magenta" :group 'drobillarized :type '(color)) +(defcustom violet-l "#9EA0E5" "Light violet" :group 'drobillarized :type '(color)) +(defcustom blue-l "#69B7F0" "Light blue" :group 'drobillarized :type '(color)) +(defcustom cyan-l "#69CABF" "Light cyan" :group 'drobillarized :type '(color)) +(defcustom green-l "#B4C342" "Light green" :group 'drobillarized :type '(color)) - ;; Lighter colors - (yellow-l "#DEB542") - (orange-l "#F2804F") - (red-l "#FF6E64") - (magenta-l "#F771AC") - (violet-l "#9EA0E5") - (blue-l "#69B7F0") - (cyan-l "#69CABF") - (green-l "#B4C342")) +(custom-theme-set-variables + 'Drobillarized + ) - (custom-theme-set-faces - 'Drobillarized - `(default ((t (:inherit nil :stipple nil :background "#141414" :foreground "#C3D1D1" :box nil :inverse-video nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 120 :width normal :foundry "unknown" :family "DejaVu Sans Mono")))) - `(bold ((t (:weight bold)))) - `(compilation-column-number ((t (:foreground ,base00)))) - `(cursor ((t (:background ,base2)))) - `(diff-added ((t (:foreground ,green)))) - `(diff-file-header ((((class color) (min-colors 88) (background dark)) (:weight bold)))) - `(diff-header ((((class color) (min-colors 88) (background dark)) (:foreground ,violet)))) - `(diff-refine-added ((t (:inherit diff-refine-change :foreground ,green)))) - `(diff-refine-change ((t (:background ,base02)))) - `(diff-refine-removed ((t (:inherit diff-refine-change :foreground ,red)))) - `(diff-removed ((t (:foreground ,red)))) - `(dired-directory ((t (:foreground ,blue)))) - `(diredp-compressed-file-suffix ((t (:foreground ,base0)))) - `(diredp-date-time ((t (:foreground ,violet)))) - `(diredp-dir-heading ((t (:foreground ,green-l)))) - `(diredp-dir-name ((t (:foreground ,blue-d)))) - `(diredp-dir-priv ((t (:foreground ,blue-d)))) - `(diredp-exec-priv ((t (:foreground ,green)))) - `(diredp-file-name ((t (:foreground "gray90")))) - `(diredp-file-suffix ((t (:foreground "gray70")))) - `(diredp-ignored-file-name ((t (:foreground ,base0)))) - `(diredp-no-priv ((t nil))) - `(diredp-number ((t (:foreground "gray50")))) - `(diredp-rare-priv ((t (:foreground ,blue-l)))) - `(diredp-read-priv ((t (:foreground "gray70")))) - `(diredp-symlink ((t (:foreground ,cyan)))) - `(diredp-write-priv ((t (:foreground "gray90")))) - `(erc-action-face ((t (:slant italic)))) - `(erc-current-nick-face ((t (:foreground ,cyan :weight bold)))) - `(erc-input-face ((t (:foreground ,orange)))) - `(erc-my-nick-face ((t (:foreground ,orange :weight bold)))) - `(erc-nick-default-face ((t (:foreground "#A3B1B1")))) - `(erc-notice-face ((t (:foreground ,violet)))) - `(erc-timestamp-face ((t (:foreground ,green)))) - `(error ((t (:foreground ,red :weight bold)))) - `(escape-glyph ((((background dark)) (:foreground ,cyan)))) - `(font-lock-comment-face ((t (:foreground ,violet)))) - `(font-lock-constant-face ((((class color) (min-colors 88) (background dark)) (:weight bold)))) - `(font-lock-doc-face ((t (:inherit font-lock-string-face :foreground ,violet)))) - `(font-lock-function-name-face ((t (:foreground ,cyan)))) - `(font-lock-keyword-face ((t (:foreground "#839496")))) - `(font-lock-preprocessor-face ((nil (:foreground ,magenta)))) - `(font-lock-string-face ((t (:foreground ,orange)))) - `(font-lock-type-face ((t (:foreground ,green)))) - `(font-lock-variable-name-face ((t (:foreground "#E3F1F1")))) - `(font-lock-warning-face ((((class color) (min-colors 88) (background dark)) (:foreground ,red :weight bold)))) - `(fringe ((((class color) (background dark)) (:background "grey25")))) - `(header-line ((t (:inherit mode-line)))) - `(link ((((class color) (min-colors 88) (background dark)) (:foreground ,blue :inverse-video nil :underline t)))) - `(link-visited ((default (:inherit link)) (((class color) (background dark)) (:foreground ,violet)))) - `(magit-diff-added ((t (:foreground ,green)))) - `(magit-diff-added-highlight ((t (:foreground ,green)))) - `(magit-diff-context ((t (:foreground "grey70")))) - `(magit-diff-context-highlight ((t (:foreground "grey80")))) - `(magit-diff-hunk-heading ((t (:foreground ,violet)))) - `(magit-diff-hunk-heading-highlight ((t (:foreground ,violet :weight bold)))) - `(magit-diff-removed ((t (:foreground ,red)))) - `(magit-diff-removed-highlight ((t (:foreground ,red-l)))) - `(magit-section-heading ((t (:foreground ,green :weight bold)))) - `(magit-section-highlight ((t (:background "grey15")))) - `(minibuffer-prompt ((((background dark)) (:foreground "white")))) - `(mode-line ((t (:background "#2D3232" :foreground "#AFB3B2" :box (:line-width 2 :color "#1A1A1A"))))) - `(mode-line-inactive ((t (:inherit mode-line :background "#111" :foreground "#4F5352" :box (:line-width 2 :color "#141414"))))) - `(nobreak-space ((((class color) (min-colors 88)) (:inherit escape-glyph :underline t)))) - `(powerline-active1 ((t (:inherit mode-line :background "#272A2A")))) - `(powerline-active2 ((t (:inherit mode-line :background "#2D3232")))) - `(powerline-inactive2 ((t (:inherit mode-line-inactive :background "#272A2A")))) - `(region ((t (:background ,green-d)))) - `(smerge-refined-change ((t (:background "gray20")))) - `(spaceline-highlight-face ((t (:background "#272A2A" :foreground "#FFFFFF" :inherit (quote mode-line))))) - `(spaceline-modified ((t (:background "#A66" :foreground "#3E3D31" :inherit (quote mode-line))))) - `(spaceline-unmodified ((t (:background "#777" :foreground "#3E3D31" :inherit (quote mode-line))))) - `(warning ((t (:foreground ,yellow :weight bold)))) - `(whitespace-newline ((t (:foreground "grey20" :weight normal)))) - `(whitespace-space ((t (:foreground "grey20")))) - `(whitespace-tab ((t (:foreground "grey20")))) - `(erc-prompt-face ((t (:foreground ,base3 :weight bold)))))) +(custom-theme-set-faces + 'Drobillarized + `(default ((t (:inherit nil :stipple nil :background "#141414" :foreground ,drobillized-default :box nil :inverse-video nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 120 :width normal :foundry "unknown" :family "DejaVu Sans Mono")))) + `(bold ((t (:weight bold)))) + `(compilation-column-number ((t (:foreground ,base00)))) + `(cursor ((t (:background ,base2)))) + `(diff-added ((t (:foreground ,green)))) + `(diff-file-header ((((class color) (min-colors 88) (background dark)) (:weight bold)))) + `(diff-header ((((class color) (min-colors 88) (background dark)) (:foreground ,violet)))) + `(diff-refine-added ((t (:inherit diff-refine-change :foreground ,green)))) + `(diff-refine-change ((t (:background ,base02)))) + `(diff-refine-removed ((t (:inherit diff-refine-change :foreground ,red)))) + `(diff-removed ((t (:foreground ,red)))) + `(dired-directory ((t (:foreground ,blue)))) + `(diredp-compressed-file-suffix ((t (:foreground ,base0)))) + `(diredp-date-time ((t (:foreground ,violet)))) + `(diredp-dir-heading ((t (:foreground ,green-l)))) + `(diredp-dir-name ((t (:foreground ,blue-d)))) + `(diredp-dir-priv ((t (:foreground ,blue-d)))) + `(diredp-exec-priv ((t (:foreground ,green)))) + `(diredp-file-name ((t (:foreground "gray90")))) + `(diredp-file-suffix ((t (:foreground "gray70")))) + `(diredp-ignored-file-name ((t (:foreground ,base0)))) + `(diredp-no-priv ((t nil))) + `(diredp-number ((t (:foreground "gray50")))) + `(diredp-rare-priv ((t (:foreground ,blue-l)))) + `(diredp-read-priv ((t (:foreground "gray70")))) + `(diredp-symlink ((t (:foreground ,cyan)))) + `(diredp-write-priv ((t (:foreground "gray90")))) + `(erc-action-face ((t (:slant italic)))) + `(erc-current-nick-face ((t (:foreground ,cyan :weight bold)))) + `(erc-input-face ((t (:foreground ,orange)))) + `(erc-my-nick-face ((t (:foreground ,orange :weight bold)))) + `(erc-nick-default-face ((t (:foreground "#A3B1B1")))) + `(erc-notice-face ((t (:foreground ,violet)))) + `(erc-timestamp-face ((t (:foreground ,green)))) + `(error ((t (:foreground ,red :weight bold)))) + `(escape-glyph ((((background dark)) (:foreground ,cyan)))) + `(font-lock-comment-face ((t (:foreground ,violet)))) + `(font-lock-constant-face ((((class color) (min-colors 88) (background dark)) (:weight bold)))) + `(font-lock-doc-face ((t (:inherit font-lock-string-face :foreground ,violet)))) + `(font-lock-function-name-face ((t (:foreground ,cyan)))) + `(font-lock-keyword-face ((t (:foreground "#839496")))) + `(font-lock-preprocessor-face ((nil (:foreground ,magenta)))) + `(font-lock-string-face ((t (:foreground ,orange)))) + `(font-lock-type-face ((t (:foreground ,green)))) + `(font-lock-variable-name-face ((t (:foreground "#E3F1F1")))) + `(font-lock-warning-face ((((class color) (min-colors 88) (background dark)) (:foreground ,red :weight bold)))) + `(fringe ((((class color) (background dark)) (:background "grey25")))) + `(header-line ((t (:inherit mode-line)))) + `(link ((((class color) (min-colors 88) (background dark)) (:foreground ,blue :inverse-video nil :underline t)))) + `(link-visited ((default (:inherit link)) (((class color) (background dark)) (:foreground ,violet)))) + `(magit-diff-added ((t (:foreground ,green)))) + `(magit-diff-added-highlight ((t (:foreground ,green)))) + `(magit-diff-context ((t (:foreground "grey70")))) + `(magit-diff-context-highlight ((t (:foreground "grey80")))) + `(magit-diff-hunk-heading ((t (:foreground ,violet)))) + `(magit-diff-hunk-heading-highlight ((t (:foreground ,violet :weight bold)))) + `(magit-diff-removed ((t (:foreground ,red)))) + `(magit-diff-removed-highlight ((t (:foreground ,red-l)))) + `(magit-section-heading ((t (:foreground ,green :weight bold)))) + `(magit-section-highlight ((t (:background "grey15")))) + `(minibuffer-prompt ((((background dark)) (:foreground "white")))) + `(mode-line ((t (:background "#2D3232" :foreground "#AFB3B2" :box (:line-width 2 :color "#1A1A1A"))))) + `(mode-line-inactive ((t (:inherit mode-line :background "#111" :foreground "#4F5352" :box (:line-width 2 :color "#141414"))))) + `(nobreak-space ((((class color) (min-colors 88)) (:inherit escape-glyph :underline t)))) + `(powerline-active1 ((t (:inherit mode-line :background "#272A2A")))) + `(powerline-active2 ((t (:inherit mode-line :background "#2D3232")))) + `(powerline-inactive2 ((t (:inherit mode-line-inactive :background "#272A2A")))) + `(region ((t (:background ,green-d)))) + `(smerge-refined-change ((t (:background "gray20")))) + `(spaceline-highlight-face ((t (:background "#272A2A" :foreground "#FFFFFF" :inherit (quote mode-line))))) + `(spaceline-modified ((t (:background "#A66" :foreground "#3E3D31" :inherit (quote mode-line))))) + `(spaceline-unmodified ((t (:background "#777" :foreground "#3E3D31" :inherit (quote mode-line))))) + `(warning ((t (:foreground ,yellow :weight bold)))) + `(whitespace-newline ((t (:foreground "grey20" :weight normal)))) + `(whitespace-space ((t (:foreground "grey20")))) + `(whitespace-tab ((t (:foreground "grey20")))) + `(erc-prompt-face ((t (:foreground ,base3 :weight bold))))) (provide-theme 'Drobillarized) |