From 44b9e784f8c48839185deca48e2ceb10a6017f7b Mon Sep 17 00:00:00 2001 From: locojaydev Date: Tue, 16 Oct 2012 18:17:19 -0400 Subject: [PATCH 1/4] adding emacs theme --- contrib/badwolf-theme.el | 82 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 contrib/badwolf-theme.el diff --git a/contrib/badwolf-theme.el b/contrib/badwolf-theme.el new file mode 100644 index 0000000..cf40206 --- /dev/null +++ b/contrib/badwolf-theme.el @@ -0,0 +1,82 @@ +(deftheme badwolf "Badwolf color Theme") + +(let ((class '((class color) (min-colors 89))) + ;;Badwolf pallete + (bwc-plain "#f8f6f2") + (bwc-snow "#ffffff") + (bwc-coal "#000000") + + (bwc-brightgravel "#d9cec3") + (bwc-lightgravel "#998f84") + (bwc-gravel "#857f78") + (bwc-mediumgravel "#666462") + (bwc-deepgravel "#45413b") + (bwc-deepergravel "#35322d") + (bwc-darkgravel "#242321") + (bwc-blackgravel "#1c1b1a") + (bwc-blackestgravel "#141413") + + (bwc-dalespale "#fade3e") + (bwc-dirtyblonde "#f4cf86") + (bwc-taffy "#ff2c4b") + (bwc-saltwatertaffy "#8cffba") + (bwc-tardis "#0a9dff") + (bwc-orange "#ffa724") + (bwc-lime "#aeee00") + (bwc-dress "#ff9eb8") + (bwc-toffee "#b88853") + (bwc-coffee "#c7915b") + (bwc-darkroast "#88633f") + ) + + ;; theme faces + (custom-theme-set-faces + 'badwolf + `(default ((t (:inherit nil :foreground ,bwc-plain :background ,bwc-blackestgravel)))) + ;;`(cursor ((t (:background ,bwc-tardis)))) + `(region ((t (:foreground nil :background ,bwc-darkgravel )))) + `(fringe ((t (:background ,bwc-blackestgravel)))) + + `(highlight ((t (:background ,bwc-dalespale)))) + `(hl-line ((t (:foreground nil :background ,bwc-darkgravel)))) + + `(linum ((t (:foreground ,bwc-mediumgravel)))) + + `(isearch ((t (:foreground ,bwc-coal :background ,bwc-dalespale :weight bold)))) + `(lazy-highlight ((t (:foreground ,bwc-coal :background, bwc-dalespale :weight bold)))) + + `(mode-line ((t (:box (:line-width -1 :style released-button) :foreground ,bwc-brightgravel :background ,bwc-darkgravel)))) + `(mode-line-inactive ((t (:box (:line-width -1 :style released-button) :foreground ,bwc-snow :background ,bwc-deepgravel)))) + + + `(font-lock-comment-face ((t (:foreground ,bwc-lightgravel)))) + `(font-lock-comment-delimiter-face ((t (:foreground ,bwc-lightgravel)))) + `(font-lock-doc-face ((t (:foreground ,bwc-snow)))) + `(font-lock-string-face ((t (:foreground ,bwc-dirtyblonde)))) + `(font-lock-function-name-face ((t (:foreground ,bwc-orange)))) + `(font-lock-variable-name-face ((t (:foreground ,bwc-dress)))) + `(font-lock-builtin-face ((t (:foreground ,bwc-taffy :weight bold)))) + `(font-lock-keyword-face ((t (:foreground ,bwc-taffy :weight bold)))) + `(font-lock-type-face ((t (:foreground ,bwc-dress)))) + `(font-lock-constant-face ((t (:foreground ,bwc-orange)))) + `(font-lock-warning-face ((t (:foreground ,bwc-dress :weight bold)))) + + `(show-paren-match ((t (:background ,bwc-tardis :weight bold)))) + `(show-paren-mismatch ((t (:background ,bwc-taffy :weight bold)))) + + ;; rainbow-delimiters + `(rainbow-delimiters-depth-1-face ((t (:foreground ,bwc-lightgravel)))) + `(rainbow-delimiters-depth-2-face ((t (:foreground ,bwc-orange)))) + `(rainbow-delimiters-depth-3-face ((t (:foreground ,bwc-saltwatertaffy)))) + `(rainbow-delimiters-depth-4-face ((t (:foreground ,bwc-dress)))) + `(rainbow-delimiters-depth-5-face ((t (:foreground ,bwc-coffee)))) + `(rainbow-delimiters-depth-6-face ((t (:foreground ,bwc-dirtyblonde)))) + `(rainbow-delimiters-depth-7-face ((t (:foreground ,bwc-orange)))) + `(rainbow-delimiters-depth-8-face ((t (:foreground ,bwc-saltwatertaffy))) + `(rainbow-delimiters-depth-9-face ((t (:foreground ,bwc-dress)))) + `(rainbow-delimiters-depth-10-face ((t (:foreground ,bwc-coffee)))) + `(rainbow-delimiters-depth-11-face ((t (:foreground ,bwc-dirtyblonde)))) + + ))) + +(provide-theme 'badwolf) From b13530ddcbe8894d24864327213e418ba353d5b0 Mon Sep 17 00:00:00 2001 From: locojaydev Date: Sun, 28 Oct 2012 14:51:26 -0400 Subject: [PATCH 2/4] adding python lime colors for import try catch ... ipython notebook colors --- contrib/badwolf-theme.el | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/contrib/badwolf-theme.el b/contrib/badwolf-theme.el index cf40206..d99d39e 100644 --- a/contrib/badwolf-theme.el +++ b/contrib/badwolf-theme.el @@ -33,12 +33,16 @@ (custom-theme-set-faces 'badwolf `(default ((t (:inherit nil :foreground ,bwc-plain :background ,bwc-blackestgravel)))) - ;;`(cursor ((t (:background ,bwc-tardis)))) - `(region ((t (:foreground nil :background ,bwc-darkgravel )))) + `(cursor ((t (:background ,bwc-tardis)))) + `(region ((t (:foreground nil :background ,bwc-mediumgravel )))) `(fringe ((t (:background ,bwc-blackestgravel)))) - `(highlight ((t (:background ,bwc-dalespale)))) - `(hl-line ((t (:foreground nil :background ,bwc-darkgravel)))) + `(minibuffer-prompt ((t (:foreground ,bwc-lime)))) + `(link ((t (:foreground ,bwc-lightgravel :underline t)))) + `(link-visited ((t (:inherit link :foreground ,bwc-orange)))) + + `(highlight ((t (:foreground ,bwc-coal :background ,bwc-dalespale)))) + `(hl-line ((t (:inherit nil :background ,bwc-darkgravel)))) `(linum ((t (:foreground ,bwc-mediumgravel)))) @@ -77,6 +81,18 @@ `(rainbow-delimiters-depth-10-face ((t (:foreground ,bwc-coffee)))) `(rainbow-delimiters-depth-11-face ((t (:foreground ,bwc-dirtyblonde)))) - ))) + + )) + + (custom-set-faces + `(ein:cell-input-area ((t (:background ,bwc-blackestgravel :inherit nil)))) + `(ein:cell-input-prompt ((t (:foreground ,bwc-orange :background nil :inherit nil)))) + `(ein:cell-output-prompt ((t (:foreground ,bwc-taffy :background nil :inherit nil)))) + '(mumamo-background-chunk-major ((((class color) (min-colors 88) (background dark)) nil))) + ) + + + (font-lock-add-keywords 'python-mode `(("\\<\\(import\\||from\\|except\\|finally\\|try\\|from\\|\\)\\>" 1 '(:foreground ,bwc-lime ) t))) + ) (provide-theme 'badwolf) From d7671e52d8c92601f1b448ff2a8781a065534c6c Mon Sep 17 00:00:00 2001 From: locojaydev Date: Mon, 29 Oct 2012 22:40:05 -0400 Subject: [PATCH 3/4] flymake, autocomplete colors --- contrib/badwolf-theme.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/contrib/badwolf-theme.el b/contrib/badwolf-theme.el index d99d39e..22d50aa 100644 --- a/contrib/badwolf-theme.el +++ b/contrib/badwolf-theme.el @@ -82,6 +82,7 @@ `(rainbow-delimiters-depth-11-face ((t (:foreground ,bwc-dirtyblonde)))) + )) (custom-set-faces @@ -89,6 +90,12 @@ `(ein:cell-input-prompt ((t (:foreground ,bwc-orange :background nil :inherit nil)))) `(ein:cell-output-prompt ((t (:foreground ,bwc-taffy :background nil :inherit nil)))) '(mumamo-background-chunk-major ((((class color) (min-colors 88) (background dark)) nil))) + + `(ac-candidate-face ((t (:background ,bwc-lightgravel)))) + `(ac-selection-face ((t (:foreground ,bwc-coal :background ,bwc-orange)))) + + `(flymake-errline ((t (:background ,bwc-taffy )))) + `(flymake-warnline ((t (:background ,bwc-dress )))) ) From 8959ff56fb14a8311c5130facff32d5b9c359dda Mon Sep 17 00:00:00 2001 From: locojay Date: Mon, 15 Jul 2013 09:11:21 -0400 Subject: [PATCH 4/4] more orange for cmd mode --- contrib/badwolf-theme.el | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/contrib/badwolf-theme.el b/contrib/badwolf-theme.el index 22d50aa..798c707 100644 --- a/contrib/badwolf-theme.el +++ b/contrib/badwolf-theme.el @@ -18,7 +18,8 @@ (bwc-dalespale "#fade3e") (bwc-dirtyblonde "#f4cf86") - (bwc-taffy "#ff2c4b") + ; (bwc-taffy "#ff2c4b") + (bwc-taffy "#ff0208") (bwc-saltwatertaffy "#8cffba") (bwc-tardis "#0a9dff") (bwc-orange "#ffa724") @@ -80,6 +81,8 @@ `(rainbow-delimiters-depth-9-face ((t (:foreground ,bwc-dress)))) `(rainbow-delimiters-depth-10-face ((t (:foreground ,bwc-coffee)))) `(rainbow-delimiters-depth-11-face ((t (:foreground ,bwc-dirtyblonde)))) + `(rainbow-delimiters-unmatched-face ((t (:foreground "red")))) + @@ -94,8 +97,8 @@ `(ac-candidate-face ((t (:background ,bwc-lightgravel)))) `(ac-selection-face ((t (:foreground ,bwc-coal :background ,bwc-orange)))) - `(flymake-errline ((t (:background ,bwc-taffy )))) - `(flymake-warnline ((t (:background ,bwc-dress )))) + `(flymake-errline ((t (:background nil :underline ,bwc-taffy )))) + `(flymake-warnline ((t (:background nil :underline ,bwc-dress )))) )