75 Commits

Author SHA1 Message Date
Luis
6ba5387011 Merge e6921fae32 into 61d75affa5 2024-09-27 11:41:57 +00:00
Steve Losh
61d75affa5 Add TEN templates and Singularity to goodwolf 2024-05-23 13:50:11 -04:00
Steve Losh
c584259ec1 Add some basic Django stuff to goodwolf 2024-05-08 10:22:05 -04:00
Steve Losh
15b37caad7 Tweak LaTeX hilighting in goodwolf 2024-03-15 10:07:28 -04:00
Steve Losh
3fae5a19ed Add string bold toggling to goodwolf 2024-02-01 08:25:06 -05:00
Steve Losh
1c50a17fc8 Add Jinja for goodwolf 2022-09-13 13:21:33 -04:00
Steve Losh
682b5215be Merge pull request #37 from 8633brown/patch-1
Update badwolf.dircolors
2020-02-18 21:00:14 -05:00
Steve Losh
e894dd4eac Add dircolors for st, and add some more dircolors 2020-02-09 18:08:27 -05:00
8633brown
201dbfabde Update badwolf.dircolors
add support for termite
2020-02-05 18:00:57 -07:00
Steve Losh
73e3198860 Colorize Fish variables in goodwolf 2019-07-17 12:02:31 -04:00
Steve Losh
58dab11d24 Clean up Fish files 2019-02-06 13:02:48 -05:00
Steve Losh
125c16dcfd Add goodwolf colors for new Fugitive stuff 2019-01-14 12:30:11 -05:00
Steve Losh
094901894a Unfuck Scala garbage 2017-09-29 10:27:47 -04:00
Steve Losh
14fd1e142f Make the highlighter an API, add status bar fuckery 2017-08-18 12:07:45 -04:00
bronzdoc
e6921fae32 Make goDirective symmetric with colorscheme 2017-04-01 11:51:01 -06:00
Steve Losh
834fbe93d1 Merge pull request #12 from jbernard/dircolors
Add directory color support for GNU ls
2017-01-11 12:35:09 +00:00
Steve Losh
78a3e35b51 Minor tweaks to goodwolf 2016-09-16 14:40:39 +00:00
Steve Losh
25b81062e2 :syntax less 2016-04-10 21:54:32 +00:00
Steve Losh
59b0963bae Add highlighting for replPrompt 2015-12-09 10:29:58 +00:00
Steve Losh
3c958975f4 Added tag v1.6.0 for changeset bd56b86c5403 2015-12-07 16:23:59 +00:00
Steve Losh
8bb978cdce Merge pull request #24 from ressu/fix-22
Fix colors_name to g:colors_name instead
2015-12-07 16:17:56 +00:00
Steve Losh
ae7ec52358 Merge pull request #16 from lukaszklis/fixes_for_css
Changed the color of highlighted props in CSS
2015-12-07 16:17:06 +00:00
Steve Losh
2ccc47fe94 Merge. 2015-12-07 16:14:47 +00:00
Steve Losh
d6f5f55525 Merge. 2015-12-07 16:12:11 +00:00
Steve Losh
c54212897d Update Lisp highlighting 2015-12-05 22:44:36 +00:00
Sami Haahtinen
29558a0eff Fix color_name to g:color_name instead
This causes vim to properly reload the correct theme when needed.

Fixes issue #22
2015-11-15 09:51:00 +02:00
Łukasz Kliś
398cc9a63f Changed the color of highlighted props in CSS 2014-05-27 09:56:24 +02:00
Denis Ciccale
8653875764 Initial Xcode port. 2013-09-04 16:03:47 +02:00
Steve Losh
e6fdf1844a Added tag v1.5.0 for changeset 2ef3532a6301 2013-07-19 20:55:06 -04:00
Steve Losh
fa533923db Add support for the rainbow parentheses plugin 2013-07-19 20:54:30 -04:00
locojay
8959ff56fb more orange for cmd mode 2013-07-15 09:11:21 -04:00
Jon Bernard
f8af6df77c Add directory color support for GNU ls
GNU ls is part of the coreutils package. It's output, if color is enabled, can
be tuned to the badwolf colorscheme with the following command:

    $ eval $(dircolors -b contrib/badwolf.dircolors)

To make this the default, copy it to ~/.dircolors.  Many systems are already
configured to look for this file, but you may need to add something like:

    $ eval $(dircolors -b ~/.dircolors)

to ~/.bashrc.  To enable color support in ls, you could do the following:

    $ alias ls='ls --color=auto'
2012-11-21 14:06:23 -05:00
Steve Losh
627b4658ed More interesting words. 2012-11-19 13:27:51 -05:00
Steve Losh
c9d64955b9 Add some Lispyscript-specific coloring. 2012-11-19 12:39:24 -05:00
Steve Losh
87a1e67bb2 Add g:badwolf_tabline setting.
Thanks to @jbernard on GitHub for the idea.
2012-11-04 12:45:04 -05:00
locojaydev
d7671e52d8 flymake, autocomplete colors 2012-10-29 22:40:05 -04:00
locojaydev
b13530ddcb adding python lime colors for import try catch ...
ipython notebook colors
2012-10-28 14:51:26 -04:00
Denis Kasak
41ece91bbf Add tabline highlighting. 2012-10-23 14:40:21 +02:00
locojaydev
44b9e784f8 adding emacs theme 2012-10-16 18:17:19 -04:00
Steve Losh
013afaacae Added tag v1.4.0 for changeset 5b17fcb91dd5 2012-09-10 12:42:42 -04:00
Steve Losh
211335c4b6 Add autocommands to fix up a bit of Tex syntax. 2012-09-10 12:41:43 -04:00
Steve Losh
f2ee2b3aeb Merge. 2012-09-10 12:39:28 -04:00
Giovanni Lanzani
5b2e5a8417 remove Delimiter, add texMathZone{V,X} 2012-09-10 11:02:02 +02:00
Giovanni Lanzani
33442485f5 some tweakes to the LaTeX colors 2012-08-13 11:18:04 +02:00
Giovanni Lanzani
7e3e2124c4 change delimiter to orange 2012-08-13 10:56:58 +02:00
Philip Stewart
d9b2769210 Force background on SpellBad 2012-08-12 03:08:24 +03:00
Giovanni Lanzani
61f9da7dc0 LaTeX support added 2012-08-02 22:56:46 +02:00
Steve Losh
03ac89e057 Merge. 2012-06-02 17:12:25 -04:00
Steve Losh
39d5612352 Include contrib in package. 2012-06-01 10:37:52 -04:00
Steve Losh
ef7257cb4c Added tag v1.3.0 for changeset 4e6ee97af8b0 2012-06-01 09:45:22 -04:00
Steve Losh
9c3ac48892 Support MySQL specials. 2012-06-01 09:44:46 -04:00
Steve Losh
7d4d4e1843 Add HTML special character support. 2012-05-08 11:03:28 -04:00
Steve Losh
647fbb8805 More Python support. 2012-04-25 15:54:25 +00:00
Thomas Pelletier
efe9eada33 Add an option to highlight CSS properties. 2012-04-16 09:47:12 +02:00
Steve Losh
9c209cc4a7 Initial Mutt port. 2012-04-13 16:49:08 -04:00
Steve Losh
01f4915dda Added tag v1.2.0 for changeset 8c3583c971ac 2012-04-10 09:36:19 -04:00
Steve Losh
25fd044a39 Add diff colors. 2012-04-10 09:35:47 -04:00
Steve Losh
783285ecac Add a license (MIT/X11). 2012-04-07 13:34:19 -04:00
Steve Losh
b03bccb7d3 Add special Bold and Italic styles for Markdown. 2012-04-05 10:16:28 -04:00
Steve Losh
684b1c0cd6 Make the HL utility function script-local. 2012-03-19 09:45:45 -04:00
Steve Losh
dcd37e72ff Optional link highlighting. 2012-03-09 14:24:17 -05:00
Steve Losh
6937e33f60 Move the color check to the top. 2012-03-09 10:33:38 -05:00
Pferor
5043cf77b4 Restriction for terminal without 256-colors support. 2012-03-09 07:21:08 +01:00
Steve Losh
36629c5f83 Force correct background color on SpellCap. 2012-03-08 10:38:17 -05:00
Steve Losh
ff2029051b Add python-mode custom highlighting. 2012-03-05 10:59:33 -05:00
Steve Losh
cad78b8415 Make lime limier in the terminal. 2012-03-05 10:59:15 -05:00
Steve Losh
ffa2f09d7b Add initial support for SLIMV. 2012-02-27 16:55:30 -05:00
Steve Losh
68f05441b1 Add packaging script. 2012-02-13 11:23:53 -05:00
Steve Losh
97a4af7a0e Added tag v1.1.2 for changeset 599ba7563aa4 2012-02-13 09:04:59 -05:00
Steve Losh
eb9aeff263 Tweak taffy terminal color. 2012-02-13 09:04:49 -05:00
Steve Losh
9f34b65af8 Added tag v1.1.1 for changeset 2804e4d33d91 2012-02-13 08:58:09 -05:00
Steve Losh
f926a5373f Fix coal color in terminals. 2012-02-13 08:57:59 -05:00
Steve Losh
4337437dc0 Added tag v1.1.0 for changeset 9c22ea4982a7 2012-02-12 15:38:11 -05:00
Steve Losh
2e05087562 Add support for CtrlP. 2012-02-12 15:38:06 -05:00
Steve Losh
a3604f6d17 Added tag v1.0.0 for changeset 621c2b1cd182 2012-02-12 15:10:11 -05:00
11 changed files with 1577 additions and 164 deletions

View File

@@ -5,5 +5,7 @@ syntax: glob
*.swp
*.swo
*.un~
*~
.ropeproject
tags
tags.bak

9
.hgtags Normal file
View File

@@ -0,0 +1,9 @@
621c2b1cd1820ede93da83090ef4240ced361000 v1.0.0
9c22ea4982a779254214a2fcb4ba62918afcae69 v1.1.0
2804e4d33d917aa2251b6d33709d17223fd5e5d0 v1.1.1
599ba7563aa4251e5f51c3e00ed8c993fe1426c5 v1.1.2
8c3583c971acda5cb4f034dbe643e5a9315db63b v1.2.0
4e6ee97af8b02741af86dcb2eb3f0f4dbbcc9761 v1.3.0
5b17fcb91dd54bff3987513ece727b45105b15fc v1.4.0
2ef3532a6301313f323067bba6b6d445d0f332c5 v1.5.0
bd56b86c54032b62dd4f755ab4c564c18da0b67f v1.6.0

18
LICENSE.markdown Normal file
View File

@@ -0,0 +1,18 @@
Copyright (C) 2012 Steve Losh and Contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
**THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.**

View File

@@ -6,6 +6,8 @@ A color scheme for Vim, pieced together by [Steve Losh](http://stevelosh.com/).
There's still quite a lot of room for improvement (particularly in HTML) so feel
free to send me ideas through the [issue tracker][] or pull requests.
It's MIT/X11 licensed, so feel free to hack it apart if you like.
**If you're going to send a pull request that you want me to merge, please post
a comment in it with before/after screenshots!**
@@ -33,6 +35,59 @@ what you're in for.
![Screenshot](http://i.imgur.com/J56VS.png)
Configuration
-------------
There are a few settings you can use to tweak how Bad Wolf looks.
### g:badwolf\_darkgutter
Determines whether the line number, sign column, and fold column are rendered
darker than the normal background, or the same.
" Make the gutters darker than the background.
let g:badwolf_darkgutter = 1
Default: `0` (off, gutters are the same as the background)
### g:badwolf\_tabline
Determines how light to render the background of the tab line (the line at the
top of the screen containing the various tabs (only in console mode)).
Can be set to `0`, `1`, `2`, or `3`.
" Make the tab line darker than the background.
let g:badwolf_tabline = 0
" Make the tab line the same color as the background.
let g:badwolf_tabline = 1
" Make the tab line lighter than the background.
let g:badwolf_tabline = 2
" Make the tab line much lighter than the background.
let g:badwolf_tabline = 3
Default: `1` (same color as the background)
### g:badwolf\_html\_link\_underline
Determines whether text inside `a` tags in HTML files will be underlined.
" Turn off HTML link underlining
let g:badwolf_html_link_underline = 0
Default: `1` (on)
### g:badwolf\_css\_props\_highlight
Determines whether CSS properties should be highlighted.
" Turn on CSS properties highlighting
let g:badwolf_css_props_highlight = 1
Default: `0` (off)
Contributing
------------

View File

@@ -31,13 +31,25 @@
" Supporting code -------------------------------------------------------------
" Preamble {{{
if !has("gui_running") && &t_Co != 88 && &t_Co != 256
finish
endif
set background=dark
if exists("syntax_on")
syntax reset
endif
let colors_name = "badwolf"
let g:colors_name = "badwolf"
if !exists("g:badwolf_html_link_underline") " {{{
let g:badwolf_html_link_underline = 1
endif " }}}
if !exists("g:badwolf_css_props_highlight") " {{{
let g:badwolf_css_props_highlight = 0
endif " }}}
" }}}
" Palette {{{
@@ -50,7 +62,7 @@ let s:bwc.plain = ['f8f6f2', 15]
" Pure and simple.
let s:bwc.snow = ['ffffff', 15]
let s:bwc.coal = ['000000', 0]
let s:bwc.coal = ['000000', 16]
" All of the Gravel colors are based on a brown from Clouds Midnight.
let s:bwc.brightgravel = ['d9cec3', 252]
@@ -71,16 +83,25 @@ let s:bwc.dalespale = ['fade3e', 221]
let s:bwc.dirtyblonde = ['f4cf86', 222]
" Delicious, chewy red from Made of Code for the poppiest highlights.
let s:bwc.taffy = ['ff2c4b', 197]
let s:bwc.taffy = ['ff2c4b', 196]
" Another chewy accent, but use sparingly!
let s:bwc.saltwatertaffy = ['8cffba', 121]
" The star of the show comes straight from Made of Code.
"
" You should almost never use this. It should be used for things that denote
" 'where the user is', which basically consists of:
"
" * The cursor
" * A REPL prompt
let s:bwc.tardis = ['0a9dff', 39]
" This one's from Mustang, not Florida!
let s:bwc.orange = ['ffa724', 214]
" A limier green from Getafe.
let s:bwc.lime = ['aeee00', 148]
let s:bwc.lime = ['aeee00', 154]
" Rose's dress in The Idiot's Lantern.
let s:bwc.dress = ['ff9eb8', 211]
@@ -94,7 +115,7 @@ let s:bwc.darkroast = ['88633f', 95]
" }}}
" Highlighting Function {{{
function! HL(group, fg, ...)
function! s:HL(group, fg, ...)
" Arguments: group, guifg, guibg, gui, guisp
let histring = 'hi ' . a:group . ' '
@@ -139,6 +160,22 @@ else
let s:gutter = 'blackgravel'
endif
if exists('g:badwolf_tabline')
if g:badwolf_tabline == 0
let s:tabline = 'blackestgravel'
elseif g:badwolf_tabline == 1
let s:tabline = 'blackgravel'
elseif g:badwolf_tabline == 2
let s:tabline = 'darkgravel'
elseif g:badwolf_tabline == 3
let s:tabline = 'deepgravel'
else
let s:tabline = 'blackestgravel'
endif
else
let s:tabline = 'blackgravel'
endif
" }}}
" Actual colorscheme ----------------------------------------------------------
@@ -146,44 +183,48 @@ endif
" General/UI {{{
call HL('Normal', 'plain', 'blackgravel')
call s:HL('Normal', 'plain', 'blackgravel')
call HL('Folded', 'mediumgravel', 'bg', 'none')
call s:HL('Folded', 'mediumgravel', 'bg', 'none')
call HL('VertSplit', 'lightgravel', 'bg', 'none')
call s:HL('VertSplit', 'lightgravel', 'bg', 'none')
call HL('CursorLine', '', 'darkgravel', 'none')
call HL('CursorColumn', '', 'darkgravel')
call HL('ColorColumn', '', 'darkgravel')
call s:HL('CursorLine', '', 'darkgravel', 'none')
call s:HL('CursorColumn', '', 'darkgravel')
call s:HL('ColorColumn', '', 'darkgravel')
call HL('MatchParen', 'dalespale', 'darkgravel', 'bold')
call s:HL('TabLine', 'plain', s:tabline, 'none')
call s:HL('TabLineFill', 'plain', s:tabline, 'none')
call s:HL('TabLineSel', 'coal', 'tardis', 'none')
call HL('NonText', 'deepgravel', 'bg')
call HL('SpecialKey', 'deepgravel', 'bg')
call s:HL('MatchParen', 'dalespale', 'darkgravel', 'bold')
call HL('Visual', '', 'deepgravel')
call HL('VisualNOS', '', 'deepgravel')
call s:HL('NonText', 'deepgravel', 'bg')
call s:HL('SpecialKey', 'deepgravel', 'bg')
call HL('Search', 'coal', 'dalespale', 'bold')
call HL('IncSearch', 'coal', 'tardis', 'bold')
call s:HL('Visual', '', 'deepgravel')
call s:HL('VisualNOS', '', 'deepgravel')
call HL('Underlined', 'fg', '', 'underline')
call s:HL('Search', 'coal', 'dalespale', 'bold')
call s:HL('IncSearch', 'coal', 'tardis', 'bold')
call HL('StatusLine', 'coal', 'tardis', 'bold')
call HL('StatusLineNC', 'snow', 'deepgravel', 'bold')
call s:HL('Underlined', 'fg', '', 'underline')
call HL('Directory', 'dirtyblonde', '', 'bold')
call s:HL('StatusLine', 'coal', 'tardis', 'bold')
call s:HL('StatusLineNC', 'snow', 'deepgravel', 'bold')
call HL('Title', 'lime')
call s:HL('Directory', 'dirtyblonde', '', 'bold')
call HL('ErrorMsg', 'taffy', 'bg', 'bold')
call HL('MoreMsg', 'dalespale', '', 'bold')
call HL('ModeMsg', 'dirtyblonde', '', 'bold')
call HL('Question', 'dirtyblonde', '', 'bold')
call HL('WarningMsg', 'dress', '', 'bold')
call s:HL('Title', 'lime')
call s:HL('ErrorMsg', 'taffy', 'bg', 'bold')
call s:HL('MoreMsg', 'dalespale', '', 'bold')
call s:HL('ModeMsg', 'dirtyblonde', '', 'bold')
call s:HL('Question', 'dirtyblonde', '', 'bold')
call s:HL('WarningMsg', 'dress', '', 'bold')
" This is a ctags tag, not an HTML one. 'Something you can use c-] on'.
call HL('Tag', '', '', 'bold')
call s:HL('Tag', '', '', 'bold')
" hi IndentGuides guibg=#373737
" hi WildMenu guifg=#66D9EF guibg=#000000
@@ -191,42 +232,42 @@ call HL('Tag', '', '', 'bold')
" }}}
" Gutter {{{
call HL('LineNr', 'mediumgravel', s:gutter)
call HL('SignColumn', '', s:gutter)
call HL('FoldColumn', 'mediumgravel', s:gutter)
call s:HL('LineNr', 'mediumgravel', s:gutter)
call s:HL('SignColumn', '', s:gutter)
call s:HL('FoldColumn', 'mediumgravel', s:gutter)
" }}}
" Cursor {{{
call HL('Cursor', 'coal', 'tardis', 'bold')
call HL('vCursor', 'coal', 'tardis', 'bold')
call HL('iCursor', 'coal', 'tardis', 'none')
call s:HL('Cursor', 'coal', 'tardis', 'bold')
call s:HL('vCursor', 'coal', 'tardis', 'bold')
call s:HL('iCursor', 'coal', 'tardis', 'none')
" }}}
" Syntax highlighting {{{
" Start with a simple base.
call HL('Special', 'plain')
call s:HL('Special', 'plain')
" Comments are slightly brighter than folds, to make 'headers' easier to see.
call HL('Comment', 'gravel')
call HL('Todo', 'snow', 'bg', 'bold')
call HL('SpecialComment', 'snow', 'bg', 'bold')
call s:HL('Comment', 'gravel')
call s:HL('Todo', 'snow', 'bg', 'bold')
call s:HL('SpecialComment', 'snow', 'bg', 'bold')
" Strings are a nice, pale straw color. Nothing too fancy.
call HL('String', 'dirtyblonde')
call s:HL('String', 'dirtyblonde')
" Control flow stuff is taffy.
call HL('Statement', 'taffy', '', 'bold')
call HL('Keyword', 'taffy', '', 'bold')
call HL('Conditional', 'taffy', '', 'bold')
call HL('Operator', 'taffy', '', 'none')
call HL('Label', 'taffy', '', 'none')
call HL('Repeat', 'taffy', '', 'none')
call s:HL('Statement', 'taffy', '', 'bold')
call s:HL('Keyword', 'taffy', '', 'bold')
call s:HL('Conditional', 'taffy', '', 'bold')
call s:HL('Operator', 'taffy', '', 'none')
call s:HL('Label', 'taffy', '', 'none')
call s:HL('Repeat', 'taffy', '', 'none')
" Functions and variable declarations are orange, because plain looks weird.
call HL('Identifier', 'orange', '', 'none')
call HL('Function', 'orange', '', 'none')
call s:HL('Identifier', 'orange', '', 'none')
call s:HL('Function', 'orange', '', 'none')
" Preprocessor stuff is lime, to make it pop.
"
@@ -234,60 +275,60 @@ call HL('Function', 'orange', '', 'none')
" grouped together at the beginning of a file. If they're in the middle of some
" other code they should stand out, because something tricky is
" probably going on.
call HL('PreProc', 'lime', '', 'none')
call HL('Macro', 'lime', '', 'none')
call HL('Define', 'lime', '', 'none')
call HL('PreCondit', 'lime', '', 'bold')
call s:HL('PreProc', 'lime', '', 'none')
call s:HL('Macro', 'lime', '', 'none')
call s:HL('Define', 'lime', '', 'none')
call s:HL('PreCondit', 'lime', '', 'bold')
" Constants of all kinds are colored together.
" I'm not really happy with the color yet...
call HL('Constant', 'toffee', '', 'bold')
call HL('Character', 'toffee', '', 'bold')
call HL('Boolean', 'toffee', '', 'bold')
call s:HL('Constant', 'toffee', '', 'bold')
call s:HL('Character', 'toffee', '', 'bold')
call s:HL('Boolean', 'toffee', '', 'bold')
call HL('Number', 'toffee', '', 'bold')
call HL('Float', 'toffee', '', 'bold')
call s:HL('Number', 'toffee', '', 'bold')
call s:HL('Float', 'toffee', '', 'bold')
" Not sure what 'special character in a constant' means, but let's make it pop.
call HL('SpecialChar', 'dress', '', 'bold')
call s:HL('SpecialChar', 'dress', '', 'bold')
call HL('Type', 'dress', '', 'none')
call HL('StorageClass', 'taffy', '', 'none')
call HL('Structure', 'taffy', '', 'none')
call HL('Typedef', 'taffy', '', 'bold')
call s:HL('Type', 'dress', '', 'none')
call s:HL('StorageClass', 'taffy', '', 'none')
call s:HL('Structure', 'taffy', '', 'none')
call s:HL('Typedef', 'taffy', '', 'bold')
" Make try/catch blocks stand out.
call HL('Exception', 'lime', '', 'bold')
call s:HL('Exception', 'lime', '', 'bold')
" Misc
call HL('Error', 'snow', 'taffy', 'bold')
call HL('Debug', 'snow', '', 'bold')
call HL('Ignore', 'gravel', '', '')
call s:HL('Error', 'snow', 'taffy', 'bold')
call s:HL('Debug', 'snow', '', 'bold')
call s:HL('Ignore', 'gravel', '', '')
" }}}
" Completion Menu {{{
call HL('Pmenu', 'plain', 'deepergravel')
call HL('PmenuSel', 'coal', 'tardis', 'bold')
call HL('PmenuSbar', '', 'deepergravel')
call HL('PmenuThumb', 'brightgravel')
call s:HL('Pmenu', 'plain', 'deepergravel')
call s:HL('PmenuSel', 'coal', 'tardis', 'bold')
call s:HL('PmenuSbar', '', 'deepergravel')
call s:HL('PmenuThumb', 'brightgravel')
" }}}
" Diffs {{{
call HL('DiffDelete', 'coal', 'coal')
call HL('DiffAdd', '', 'deepergravel')
call HL('DiffChange', '', 'darkgravel')
call HL('DiffText', 'snow', 'deepergravel', 'bold')
call s:HL('DiffDelete', 'coal', 'coal')
call s:HL('DiffAdd', '', 'deepergravel')
call s:HL('DiffChange', '', 'darkgravel')
call s:HL('DiffText', 'snow', 'deepergravel', 'bold')
" }}}
" Spelling {{{
if has("spell")
call HL('SpellCap', 'dalespale', '', 'undercurl,bold', 'dalespale')
call HL('SpellBad', '', '', 'undercurl', 'dalespale')
call HL('SpellLocal', '', '', 'undercurl', 'dalespale')
call HL('SpellRare', '', '', 'undercurl', 'dalespale')
call s:HL('SpellCap', 'dalespale', 'bg', 'undercurl,bold', 'dalespale')
call s:HL('SpellBad', '', 'bg', 'undercurl', 'dalespale')
call s:HL('SpellLocal', '', '', 'undercurl', 'dalespale')
call s:HL('SpellRare', '', '', 'undercurl', 'dalespale')
endif
" }}}
@@ -295,19 +336,60 @@ endif
" }}}
" Plugins {{{
" CtrlP {{{
" the message when no match is found
call s:HL('CtrlPNoEntries', 'snow', 'taffy', 'bold')
" the matched pattern
call s:HL('CtrlPMatch', 'orange', 'bg', 'none')
" the line prefix '>' in the match window
call s:HL('CtrlPLinePre', 'deepgravel', 'bg', 'none')
" the prompts base
call s:HL('CtrlPPrtBase', 'deepgravel', 'bg', 'none')
" the prompts text
call s:HL('CtrlPPrtText', 'plain', 'bg', 'none')
" the prompts cursor when moving over the text
call s:HL('CtrlPPrtCursor', 'coal', 'tardis', 'bold')
" 'prt' or 'win', also for 'regex'
call s:HL('CtrlPMode1', 'coal', 'tardis', 'bold')
" 'file' or 'path', also for the local working dir
call s:HL('CtrlPMode2', 'coal', 'tardis', 'bold')
" the scanning status
call s:HL('CtrlPStats', 'coal', 'tardis', 'bold')
" TODO: CtrlP extensions.
" CtrlPTabExtra : the part of each line thats not matched against (Comment)
" CtrlPqfLineCol : the line and column numbers in quickfix mode (|s:HL-Search|)
" CtrlPUndoT : the elapsed time in undo mode (|s:HL-Directory|)
" CtrlPUndoBr : the square brackets [] in undo mode (Comment)
" CtrlPUndoNr : the undo number inside [] in undo mode (String)
" }}}
" EasyMotion {{{
call HL('EasyMotionTarget', 'tardis', 'bg', 'bold')
call HL('EasyMotionShade', 'deepgravel', 'bg')
call s:HL('EasyMotionTarget', 'tardis', 'bg', 'bold')
call s:HL('EasyMotionShade', 'deepgravel', 'bg')
" }}}
" Interesting Words {{{
" These are only used if you're me or have copied the <leader>hNUM mappings
" from my Vimrc.
call HL('InterestingWord1', 'coal', 'orange')
call HL('InterestingWord2', 'coal', 'lime')
call HL('InterestingWord3', 'coal', 'taffy')
call s:HL('InterestingWord1', 'coal', 'orange')
call s:HL('InterestingWord2', 'coal', 'lime')
call s:HL('InterestingWord3', 'coal', 'saltwatertaffy')
call s:HL('InterestingWord4', 'coal', 'toffee')
call s:HL('InterestingWord5', 'coal', 'dress')
call s:HL('InterestingWord6', 'coal', 'taffy')
" }}}
" Makegreen {{{
@@ -315,13 +397,33 @@ call HL('InterestingWord3', 'coal', 'taffy')
" hi GreenBar term=reverse ctermfg=white ctermbg=green guifg=coal guibg=#9edf1c
" hi RedBar term=reverse ctermfg=white ctermbg=red guifg=white guibg=#C50048
" }}}
" Rainbow Parentheses {{{
call s:HL('level16c', 'mediumgravel', '', 'bold')
call s:HL('level15c', 'dalespale', '', '')
call s:HL('level14c', 'dress', '', '')
call s:HL('level13c', 'orange', '', '')
call s:HL('level12c', 'tardis', '', '')
call s:HL('level11c', 'lime', '', '')
call s:HL('level10c', 'toffee', '', '')
call s:HL('level9c', 'saltwatertaffy', '', '')
call s:HL('level8c', 'coffee', '', '')
call s:HL('level7c', 'dalespale', '', '')
call s:HL('level6c', 'dress', '', '')
call s:HL('level5c', 'orange', '', '')
call s:HL('level4c', 'tardis', '', '')
call s:HL('level3c', 'lime', '', '')
call s:HL('level2c', 'toffee', '', '')
call s:HL('level1c', 'saltwatertaffy', '', '')
" }}}
" ShowMarks {{{
call HL('ShowMarksHLl', 'tardis', 'blackgravel')
call HL('ShowMarksHLu', 'tardis', 'blackgravel')
call HL('ShowMarksHLo', 'tardis', 'blackgravel')
call HL('ShowMarksHLm', 'tardis', 'blackgravel')
call s:HL('ShowMarksHLl', 'tardis', 'blackgravel')
call s:HL('ShowMarksHLu', 'tardis', 'blackgravel')
call s:HL('ShowMarksHLo', 'tardis', 'blackgravel')
call s:HL('ShowMarksHLm', 'tardis', 'blackgravel')
" }}}
@@ -330,43 +432,71 @@ call HL('ShowMarksHLm', 'tardis', 'blackgravel')
" Clojure {{{
call HL('clojureSpecial', 'taffy', '', '')
call HL('clojureDefn', 'taffy', '', '')
call HL('clojureDefMacro', 'taffy', '', '')
call HL('clojureDefine', 'taffy', '', '')
call HL('clojureMacro', 'taffy', '', '')
call HL('clojureCond', 'taffy', '', '')
call s:HL('clojureSpecial', 'taffy', '', '')
call s:HL('clojureDefn', 'taffy', '', '')
call s:HL('clojureDefMacro', 'taffy', '', '')
call s:HL('clojureDefine', 'taffy', '', '')
call s:HL('clojureMacro', 'taffy', '', '')
call s:HL('clojureCond', 'taffy', '', '')
call HL('clojureKeyword', 'orange', '', 'none')
call s:HL('clojureKeyword', 'orange', '', 'none')
call HL('clojureFunc', 'dress', '', 'none')
call HL('clojureRepeat', 'dress', '', 'none')
call s:HL('clojureFunc', 'dress', '', 'none')
call s:HL('clojureRepeat', 'dress', '', 'none')
call HL('clojureParen0', 'lightgravel', '', 'none')
call s:HL('clojureParen0', 'lightgravel', '', 'none')
call HL('clojureAnonArg', 'snow', '', 'bold')
call s:HL('clojureAnonArg', 'snow', '', 'bold')
" }}}
" Common Lisp {{{
call s:HL('lispFunc', 'lime', '', 'none')
call s:HL('lispVar', 'orange', '', 'bold')
call s:HL('lispEscapeSpecial', 'orange', '', 'none')
" }}}
" CSS {{{
call HL('cssColorProp', 'fg', '', 'none')
call HL('cssBoxProp', 'fg', '', 'none')
call HL('cssTextProp', 'fg', '', 'none')
call HL('cssRenderProp', 'fg', '', 'none')
call HL('cssGeneratedContentProp', 'fg', '', 'none')
if g:badwolf_css_props_highlight
call s:HL('cssColorProp', 'taffy', '', 'none')
call s:HL('cssBoxProp', 'taffy', '', 'none')
call s:HL('cssTextProp', 'taffy', '', 'none')
call s:HL('cssRenderProp', 'taffy', '', 'none')
call s:HL('cssGeneratedContentProp', 'taffy', '', 'none')
else
call s:HL('cssColorProp', 'fg', '', 'none')
call s:HL('cssBoxProp', 'fg', '', 'none')
call s:HL('cssTextProp', 'fg', '', 'none')
call s:HL('cssRenderProp', 'fg', '', 'none')
call s:HL('cssGeneratedContentProp', 'fg', '', 'none')
end
call HL('cssValueLength', 'toffee', '', 'bold')
call HL('cssColor', 'toffee', '', 'bold')
call HL('cssBraces', 'lightgravel', '', 'none')
call HL('cssIdentifier', 'orange', '', 'bold')
call HL('cssClassName', 'orange', '', 'none')
call s:HL('cssValueLength', 'toffee', '', 'bold')
call s:HL('cssColor', 'toffee', '', 'bold')
call s:HL('cssBraces', 'lightgravel', '', 'none')
call s:HL('cssIdentifier', 'orange', '', 'bold')
call s:HL('cssClassName', 'orange', '', 'none')
" }}}
" Diff {{{
call s:HL('gitDiff', 'lightgravel', '',)
call s:HL('diffRemoved', 'dress', '',)
call s:HL('diffAdded', 'lime', '',)
call s:HL('diffFile', 'coal', 'taffy', 'bold')
call s:HL('diffNewFile', 'coal', 'taffy', 'bold')
call s:HL('diffLine', 'coal', 'orange', 'bold')
call s:HL('diffSubname', 'orange', '', 'none')
" }}}
" Django Templates {{{
call HL('djangoArgument', 'dirtyblonde', '',)
call HL('djangoTagBlock', 'orange', '')
call HL('djangoVarBlock', 'orange', '')
call s:HL('djangoArgument', 'dirtyblonde', '',)
call s:HL('djangoTagBlock', 'orange', '')
call s:HL('djangoVarBlock', 'orange', '')
" hi djangoStatement guifg=#ff3853 gui=bold
" hi djangoVarBlock guifg=#f4cf86
@@ -374,92 +504,168 @@ call HL('djangoVarBlock', 'orange', '')
" HTML {{{
" Punctuation
call HL('htmlTag', 'darkroast', 'bg', 'none')
call HL('htmlEndTag', 'darkroast', 'bg', 'none')
call s:HL('htmlTag', 'darkroast', 'bg', 'none')
call s:HL('htmlEndTag', 'darkroast', 'bg', 'none')
" Tag names
call HL('htmlTagName', 'coffee', '', 'bold')
call HL('htmlSpecialTagName', 'coffee', '', 'bold')
call s:HL('htmlTagName', 'coffee', '', 'bold')
call s:HL('htmlSpecialTagName', 'coffee', '', 'bold')
call s:HL('htmlSpecialChar', 'lime', '', 'none')
" Attributes
call HL('htmlArg', 'coffee', '', 'none')
call s:HL('htmlArg', 'coffee', '', 'none')
" Stuff inside an <a> tag
call HL('htmlLink', 'lightgravel', '', 'underline')
if g:badwolf_html_link_underline
call s:HL('htmlLink', 'lightgravel', '', 'underline')
else
call s:HL('htmlLink', 'lightgravel', '', 'none')
endif
" }}}
" Java {{{
call HL('javaClassDecl', 'taffy', '', 'bold')
call HL('javaScopeDecl', 'taffy', '', 'bold')
call HL('javaCommentTitle', 'gravel', '')
call HL('javaDocTags', 'snow', '', 'none')
call HL('javaDocParam', 'dalespale', '', '')
call s:HL('javaClassDecl', 'taffy', '', 'bold')
call s:HL('javaScopeDecl', 'taffy', '', 'bold')
call s:HL('javaCommentTitle', 'gravel', '')
call s:HL('javaDocTags', 'snow', '', 'none')
call s:HL('javaDocParam', 'dalespale', '', '')
" }}}
" LaTeX {{{
call s:HL('texStatement', 'tardis', '', 'none')
call s:HL('texMathZoneX', 'orange', '', 'none')
call s:HL('texMathZoneA', 'orange', '', 'none')
call s:HL('texMathZoneB', 'orange', '', 'none')
call s:HL('texMathZoneC', 'orange', '', 'none')
call s:HL('texMathZoneD', 'orange', '', 'none')
call s:HL('texMathZoneE', 'orange', '', 'none')
call s:HL('texMathZoneV', 'orange', '', 'none')
call s:HL('texMathZoneX', 'orange', '', 'none')
call s:HL('texMath', 'orange', '', 'none')
call s:HL('texMathMatcher', 'orange', '', 'none')
call s:HL('texRefLabel', 'dirtyblonde', '', 'none')
call s:HL('texRefZone', 'lime', '', 'none')
call s:HL('texComment', 'darkroast', '', 'none')
call s:HL('texDelimiter', 'orange', '', 'none')
call s:HL('texZone', 'brightgravel', '', 'none')
augroup badwolf_tex
au!
au BufRead,BufNewFile *.tex syn region texMathZoneV start="\\(" end="\\)\|%stopzone\>" keepend contains=@texMathZoneGroup
au BufRead,BufNewFile *.tex syn region texMathZoneX start="\$" skip="\\\\\|\\\$" end="\$\|%stopzone\>" keepend contains=@texMathZoneGroup
augroup END
" }}}
" LessCSS {{{
call HL('lessVariable', 'lime', '', 'none')
call s:HL('lessVariable', 'lime', '', 'none')
" }}}
" Lispyscript {{{
call s:HL('lispyscriptDefMacro', 'lime', '', '')
call s:HL('lispyscriptRepeat', 'dress', '', 'none')
" }}}
" REPLs {{{
" This isn't a specific plugin, but just useful highlight classes for anything
" that might want to use them.
call s:HL('replPrompt', 'tardis', '', 'bold')
" }}}
" Mail {{{
call HL('mailSubject', 'orange', '', 'bold')
call HL('mailHeader', 'lightgravel', '', '')
call HL('mailHeaderKey', 'lightgravel', '', '')
call HL('mailHeaderEmail', 'snow', '', '')
call HL('mailURL', 'toffee', '', 'underline')
call HL('mailSignature', 'gravel', '', 'none')
call s:HL('mailSubject', 'orange', '', 'bold')
call s:HL('mailHeader', 'lightgravel', '', '')
call s:HL('mailHeaderKey', 'lightgravel', '', '')
call s:HL('mailHeaderEmail', 'snow', '', '')
call s:HL('mailURL', 'toffee', '', 'underline')
call s:HL('mailSignature', 'gravel', '', 'none')
call HL('mailQuoted1', 'gravel', '', 'none')
call HL('mailQuoted2', 'dress', '', 'none')
call HL('mailQuoted3', 'dirtyblonde', '', 'none')
call HL('mailQuoted4', 'orange', '', 'none')
call HL('mailQuoted5', 'lime', '', 'none')
call s:HL('mailQuoted1', 'gravel', '', 'none')
call s:HL('mailQuoted2', 'dress', '', 'none')
call s:HL('mailQuoted3', 'dirtyblonde', '', 'none')
call s:HL('mailQuoted4', 'orange', '', 'none')
call s:HL('mailQuoted5', 'lime', '', 'none')
" }}}
" Markdown {{{
call HL('markdownHeadingRule', 'lightgravel', '', 'bold')
call HL('markdownHeadingDelimiter', 'lightgravel', '', 'bold')
call HL('markdownOrderedListMarker', 'lightgravel', '', 'bold')
call HL('markdownListMarker', 'lightgravel', '', 'bold')
call HL('markdownH1', 'orange', '', 'bold')
call HL('markdownH2', 'lime', '', 'bold')
call HL('markdownH3', 'lime', '', 'none')
call HL('markdownH4', 'lime', '', 'none')
call HL('markdownH5', 'lime', '', 'none')
call HL('markdownH6', 'lime', '', 'none')
call HL('markdownLinkText', 'toffee', '', 'underline')
call HL('markdownIdDeclaration', 'toffee')
call HL('markdownAutomaticLink', 'toffee', '', 'bold')
call HL('markdownUrl', 'toffee', '', 'bold')
call HL('markdownUrldelimiter', 'lightgravel', '', 'bold')
call HL('markdownLinkDelimiter', 'lightgravel', '', 'bold')
call HL('markdownLinkTextDelimiter', 'lightgravel', '', 'bold')
call HL('markdownCodeDelimiter', 'dirtyblonde', '', 'bold')
call HL('markdownCode', 'dirtyblonde', '', 'none')
call HL('markdownCodeBlock', 'dirtyblonde', '', 'none')
call s:HL('markdownHeadingRule', 'lightgravel', '', 'bold')
call s:HL('markdownHeadingDelimiter', 'lightgravel', '', 'bold')
call s:HL('markdownOrderedListMarker', 'lightgravel', '', 'bold')
call s:HL('markdownListMarker', 'lightgravel', '', 'bold')
call s:HL('markdownItalic', 'snow', '', 'bold')
call s:HL('markdownBold', 'snow', '', 'bold')
call s:HL('markdownH1', 'orange', '', 'bold')
call s:HL('markdownH2', 'lime', '', 'bold')
call s:HL('markdownH3', 'lime', '', 'none')
call s:HL('markdownH4', 'lime', '', 'none')
call s:HL('markdownH5', 'lime', '', 'none')
call s:HL('markdownH6', 'lime', '', 'none')
call s:HL('markdownLinkText', 'toffee', '', 'underline')
call s:HL('markdownIdDeclaration', 'toffee')
call s:HL('markdownAutomaticLink', 'toffee', '', 'bold')
call s:HL('markdownUrl', 'toffee', '', 'bold')
call s:HL('markdownUrldelimiter', 'lightgravel', '', 'bold')
call s:HL('markdownLinkDelimiter', 'lightgravel', '', 'bold')
call s:HL('markdownLinkTextDelimiter', 'lightgravel', '', 'bold')
call s:HL('markdownCodeDelimiter', 'dirtyblonde', '', 'bold')
call s:HL('markdownCode', 'dirtyblonde', '', 'none')
call s:HL('markdownCodeBlock', 'dirtyblonde', '', 'none')
" }}}
" MySQL {{{
call s:HL('mysqlSpecial', 'dress', '', 'bold')
" }}}
" Python {{{
hi def link pythonOperator Operator
call HL('pythonBuiltin', 'dress')
call HL('pythonEscape', 'dress')
call HL('pythonException', 'lime', '', 'bold')
call HL('pythonExceptions', 'lime', '', 'none')
call HL('pythonDecorator', 'taffy', '', 'none')
call s:HL('pythonBuiltin', 'dress')
call s:HL('pythonBuiltinObj', 'dress')
call s:HL('pythonBuiltinFunc', 'dress')
call s:HL('pythonEscape', 'dress')
call s:HL('pythonException', 'lime', '', 'bold')
call s:HL('pythonExceptions', 'lime', '', 'none')
call s:HL('pythonPrecondit', 'lime', '', 'none')
call s:HL('pythonDecorator', 'taffy', '', 'none')
call s:HL('pythonRun', 'gravel', '', 'bold')
call s:HL('pythonCoding', 'gravel', '', 'bold')
" }}}
" GO {{{
call s:HL('goDirective', 'lime', '', 'none')
" }}}
" SLIMV {{{
" Rainbow parentheses
call s:HL('hlLevel0', 'gravel')
call s:HL('hlLevel1', 'orange')
call s:HL('hlLevel2', 'saltwatertaffy')
call s:HL('hlLevel3', 'dress')
call s:HL('hlLevel4', 'coffee')
call s:HL('hlLevel5', 'dirtyblonde')
call s:HL('hlLevel6', 'orange')
call s:HL('hlLevel7', 'saltwatertaffy')
call s:HL('hlLevel8', 'dress')
call s:HL('hlLevel9', 'coffee')
" }}}
" Vim {{{
call HL('VimCommentTitle', 'lightgravel', '', 'bold')
call s:HL('VimCommentTitle', 'lightgravel', '', 'bold')
call HL('VimMapMod', 'dress', '', 'none')
call HL('VimMapModKey', 'dress', '', 'none')
call HL('VimNotation', 'dress', '', 'none')
call HL('VimBracket', 'dress', '', 'none')
call s:HL('VimMapMod', 'dress', '', 'none')
call s:HL('VimMapModKey', 'dress', '', 'none')
call s:HL('VimNotation', 'dress', '', 'none')
call s:HL('VimBracket', 'dress', '', 'none')
" }}}

597
colors/goodwolf.vim Normal file
View File

@@ -0,0 +1,597 @@
" _ _ __
" | | | |/ _|
" __ _ ___ ___ __| | __ _____ | | |_
" / _` |/ _ \ / _ \ / _` | \ \ /\ / / _ \| | _|
" | (_| | (_) | (_) | (_| | \ V V / (_) | | |
" \__, |\___/ \___/ \__,_| \_/\_/ \___/|_|_|
" __/ |
" |___/
"
" :syntax less
"
" A Vim colorscheme pieced together by Steve Losh.
" Available at http://stevelosh.com/projects/badwolf/
"
" Supporting code -------------------------------------------------------------
" Preamble {{{
if !has("gui_running") && &t_Co != 88 && &t_Co != 256
finish
endif
set background=dark
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "goodwolf"
if !exists("g:badwolf_html_link_underline") " {{{
let g:badwolf_html_link_underline = 1
endif " }}}
" }}}
" Palette {{{
let s:bwc = {}
" The most basic of all our colors is a slightly tweaked version of the Molokai
" Normal text.
let s:bwc.plain = ['f8f6f2', 15]
" Pure and simple.
let s:bwc.snow = ['ffffff', 15]
let s:bwc.coal = ['000000', 16]
" All of the Gravel colors are based on a brown from Clouds Midnight.
let s:bwc.brightgravel = ['d9cec3', 252]
let s:bwc.lightgravel = ['998f84', 245]
let s:bwc.gravel = ['857f78', 243]
let s:bwc.mediumgravel = ['666462', 241]
let s:bwc.deepgravel = ['45413b', 238]
let s:bwc.deepergravel = ['35322d', 236]
let s:bwc.darkgravel = ['242321', 235]
let s:bwc.blackgravel = ['1c1b1a', 233]
let s:bwc.blackestgravel = ['141413', 232]
" A color sampled from a highlight in a photo of a glass of Dale's Pale Ale on
" my desk.
let s:bwc.dalespale = ['fade3e', 221]
" A beautiful tan from Tomorrow Night.
let s:bwc.dirtyblonde = ['f4cf86', 222]
" Delicious, chewy red from Made of Code for the poppiest highlights.
let s:bwc.taffy = ['ff2c4b', 196]
" Another chewy accent, but use sparingly!
let s:bwc.saltwatertaffy = ['8cffba', 121]
" The star of the show comes straight from Made of Code.
"
" You should almost never use this. It should be used for things that denote
" 'where the user is', which basically consists of:
"
" * The cursor
" * A REPL prompt
let s:bwc.tardis = ['0a9dff', 39]
" This one's from Mustang, not Florida!
let s:bwc.orange = ['ffa724', 214]
" A limier green from Getafe.
let s:bwc.lime = ['aeee00', 154]
" Rose's dress in The Idiot's Lantern.
let s:bwc.dress = ['ff9eb8', 211]
" Another play on the brown from Clouds Midnight. I love that color.
let s:bwc.toffee = ['b88853', 137]
" Also based on that Clouds Midnight brown.
let s:bwc.coffee = ['c7915b', 173]
let s:bwc.darkroast = ['88633f', 95]
" }}}
" Highlighting Function {{{
function! GoodWolfHL(group, fg, ...)
" Arguments: group, guifg, guibg, gui, guisp
let histring = 'hi ' . a:group . ' '
if strlen(a:fg)
if a:fg == 'fg'
let histring .= 'guifg=fg ctermfg=fg '
else
let c = get(s:bwc, a:fg)
let histring .= 'guifg=#' . c[0] . ' ctermfg=' . c[1] . ' '
endif
endif
if a:0 >= 1 && strlen(a:1)
if a:1 == 'bg'
let histring .= 'guibg=bg ctermbg=bg '
else
let c = get(s:bwc, a:1)
let histring .= 'guibg=#' . c[0] . ' ctermbg=' . c[1] . ' '
endif
endif
if a:0 >= 2 && strlen(a:2)
let histring .= 'gui=' . a:2 . ' cterm=' . a:2 . ' '
endif
if a:0 >= 3 && strlen(a:3)
let c = get(s:bwc, a:3)
let histring .= 'guisp=#' . c[0] . ' '
endif
execute histring
endfunction
" }}}
" Configuration Options {{{
if exists('g:badwolf_darkgutter') && g:badwolf_darkgutter
let s:gutter = 'blackestgravel'
else
let s:gutter = 'blackgravel'
endif
if exists('g:badwolf_tabline')
if g:badwolf_tabline == 0
let s:tabline = 'blackestgravel'
elseif g:badwolf_tabline == 1
let s:tabline = 'blackgravel'
elseif g:badwolf_tabline == 2
let s:tabline = 'darkgravel'
elseif g:badwolf_tabline == 3
let s:tabline = 'deepgravel'
else
let s:tabline = 'blackestgravel'
endif
else
let s:tabline = 'blackgravel'
endif
" }}}
" Actual colorscheme ----------------------------------------------------------
" Vanilla Vim {{{
" General/UI {{{
" call GoodWolfHL('Normal', 'plain', 'blackgravel')
call GoodWolfHL('Normal', 'plain', 'blackestgravel')
call GoodWolfHL('Folded', 'mediumgravel', 'bg', 'none')
call GoodWolfHL('VertSplit', 'lightgravel', 'bg', 'none')
call GoodWolfHL('CursorLine', '', 'darkgravel', 'none')
call GoodWolfHL('CursorColumn', '', 'darkgravel')
call GoodWolfHL('ColorColumn', '', 'darkgravel')
call GoodWolfHL('TabLine', 'plain', s:tabline, 'none')
call GoodWolfHL('TabLineFill', 'plain', s:tabline, 'none')
call GoodWolfHL('TabLineSel', 'coal', 'tardis', 'none')
call GoodWolfHL('MatchParen', 'dalespale', 'darkgravel', 'bold')
call GoodWolfHL('NonText', 'deepgravel', 'bg')
call GoodWolfHL('SpecialKey', 'deepgravel', 'bg')
call GoodWolfHL('Visual', '', 'deepgravel')
call GoodWolfHL('VisualNOS', '', 'deepgravel')
call GoodWolfHL('Search', 'coal', 'dalespale', 'bold')
call GoodWolfHL('IncSearch', 'coal', 'tardis', 'bold')
call GoodWolfHL('Underlined', 'fg', '', 'underline')
call GoodWolfHL('StatusLine', 'coal', 'tardis', 'bold')
call GoodWolfHL('StatusLineNC', 'snow', 'deepgravel', 'none')
call GoodWolfHL('Directory', 'dirtyblonde', '', 'bold')
call GoodWolfHL('Title', 'lime')
call GoodWolfHL('ErrorMsg', 'taffy', 'bg', 'bold')
call GoodWolfHL('MoreMsg', 'dalespale', '', 'bold')
call GoodWolfHL('ModeMsg', 'dirtyblonde', '', 'bold')
call GoodWolfHL('Question', 'dirtyblonde', '', 'bold')
call GoodWolfHL('WarningMsg', 'dress', '', 'bold')
" This is a ctags tag, not an HTML one. 'Something you can use c-] on'.
call GoodWolfHL('Tag', '', '', 'bold')
" }}}
" Gutter {{{
call GoodWolfHL('LineNr', 'mediumgravel', s:gutter)
call GoodWolfHL('SignColumn', '', s:gutter)
call GoodWolfHL('FoldColumn', 'mediumgravel', s:gutter)
" }}}
" Cursor {{{
call GoodWolfHL('Cursor', 'coal', 'tardis', 'bold')
call GoodWolfHL('vCursor', 'coal', 'tardis', 'bold')
call GoodWolfHL('iCursor', 'coal', 'tardis', 'none')
" }}}
" Syntax highlighting {{{
" Start with a simple base.
call GoodWolfHL('Special', 'plain')
" Comments are slightly brighter than folds, to make 'headers' easier to see.
call GoodWolfHL('Comment', 'gravel', 'bg', 'none')
call GoodWolfHL('Todo', 'snow', 'bg', 'bold')
call GoodWolfHL('SpecialComment', 'snow', 'bg', 'bold')
" Strings are highlighted separately.
call GoodWolfHL('String', 'lightgravel', '', 'bold')
" Turn off everything else
call GoodWolfHL('Statement', 'plain', '', 'none')
call GoodWolfHL('Keyword', 'plain', '', 'none')
call GoodWolfHL('Conditional', 'plain', '', 'none')
call GoodWolfHL('Operator', 'plain', '', 'none')
call GoodWolfHL('Label', 'plain', '', 'none')
call GoodWolfHL('Repeat', 'plain', '', 'none')
call GoodWolfHL('Identifier', 'plain', '', 'none')
call GoodWolfHL('Function', 'plain', '', 'none')
call GoodWolfHL('PreProc', 'plain', '', 'none')
call GoodWolfHL('Macro', 'plain', '', 'none')
call GoodWolfHL('Define', 'plain', '', 'none')
call GoodWolfHL('PreCondit', 'plain', '', 'none')
call GoodWolfHL('Constant', 'plain', '', 'none')
call GoodWolfHL('Character', 'plain', '', 'none')
call GoodWolfHL('Boolean', 'plain', '', 'none')
call GoodWolfHL('Number', 'plain', '', 'none')
call GoodWolfHL('Float', 'plain', '', 'none')
call GoodWolfHL('Type', 'plain', '', 'none')
call GoodWolfHL('StorageClass', 'plain', '', 'none')
call GoodWolfHL('Structure', 'plain', '', 'none')
call GoodWolfHL('Typedef', 'plain', '', 'none')
call GoodWolfHL('Exception', 'plain', '', 'none')
" Not sure what 'special character in a constant' means, but let's make it pop.
call GoodWolfHL('SpecialChar', 'plain', '', 'bold')
" Misc
call GoodWolfHL('Error', 'snow', 'taffy', 'bold')
call GoodWolfHL('Debug', 'snow', '', 'bold')
call GoodWolfHL('Ignore', 'gravel', '', '')
let g:goodwolf_string_style = 'bold'
function GoodWolfToggleBoldStrings()
if g:goodwolf_string_style == 'bold'
let g:goodwolf_string_style = 'none'
else
let g:goodwolf_string_style = 'bold'
endif
call GoodWolfHL('String', 'lightgravel', '', g:goodwolf_string_style)
endfunction
" }}}
" Completion Menu {{{
call GoodWolfHL('Pmenu', 'plain', 'deepergravel')
call GoodWolfHL('PmenuSel', 'coal', 'tardis', 'bold')
call GoodWolfHL('PmenuSbar', '', 'deepergravel')
call GoodWolfHL('PmenuThumb', 'brightgravel')
" }}}
" Diffs {{{
call GoodWolfHL('DiffDelete', 'coal', 'coal')
call GoodWolfHL('DiffAdd', '', 'deepergravel')
call GoodWolfHL('DiffChange', '', 'darkgravel')
call GoodWolfHL('DiffText', 'snow', 'deepergravel', 'bold')
" }}}
" Spelling {{{
if has("spell")
call GoodWolfHL('SpellCap', 'dalespale', 'bg', 'undercurl,bold', 'dalespale')
call GoodWolfHL('SpellBad', '', 'bg', 'undercurl', 'dalespale')
call GoodWolfHL('SpellLocal', '', '', 'undercurl', 'dalespale')
call GoodWolfHL('SpellRare', '', '', 'undercurl', 'dalespale')
endif
" }}}
" Status Line Utils {{{
call GoodWolfHL('GWStatusLineMode', 'coal', 'lime')
call GoodWolfHL('GWStatusLineModeX', 'lime', 'deepergravel')
" }}}
" }}}
" Plugins {{{
" Clam {{{
" hg status
call GoodWolfHL('clamHgStatusAdded', 'lime', '', 'none')
call GoodWolfHL('clamHgStatusModified', 'saltwatertaffy', '', 'none')
call GoodWolfHL('clamHgStatusRemoved', 'toffee', '', 'none')
call GoodWolfHL('clamHgStatusUnknown', 'taffy', '', 'bold')
" }}}
" CtrlP {{{
" the message when no match is found
call GoodWolfHL('CtrlPNoEntries', 'snow', 'taffy', 'bold')
" the matched pattern
call GoodWolfHL('CtrlPMatch', 'dress', 'bg', 'bold')
" the line prefix '>' in the match window
call GoodWolfHL('CtrlPLinePre', 'deepgravel', 'bg', 'none')
" the prompts base
call GoodWolfHL('CtrlPPrtBase', 'deepgravel', 'bg', 'none')
" the prompts text
call GoodWolfHL('CtrlPPrtText', 'plain', 'bg', 'none')
" the prompts cursor when moving over the text
call GoodWolfHL('CtrlPPrtCursor', 'coal', 'tardis', 'bold')
" 'prt' or 'win', also for 'regex'
call GoodWolfHL('CtrlPMode1', 'coal', 'tardis', 'bold')
" 'file' or 'path', also for the local working dir
call GoodWolfHL('CtrlPMode2', 'coal', 'tardis', 'bold')
" the scanning status
call GoodWolfHL('CtrlPStats', 'coal', 'tardis', 'bold')
" }}}
" Interesting Words {{{
" These are only used if you're me or have copied the <leader>hNUM mappings
" from my Vimrc.
call GoodWolfHL('InterestingWord1', 'coal', 'orange')
call GoodWolfHL('InterestingWord2', 'coal', 'lime')
call GoodWolfHL('InterestingWord3', 'coal', 'saltwatertaffy')
call GoodWolfHL('InterestingWord4', 'coal', 'toffee')
call GoodWolfHL('InterestingWord5', 'coal', 'dress')
call GoodWolfHL('InterestingWord6', 'coal', 'taffy')
" }}}
" Rainbow Parentheses {{{
call GoodWolfHL('level1c', 'mediumgravel', '', 'bold')
" }}}
" Fugitive {{{
call GoodWolfHL('fugitiveHeading', 'dress', 'bg', 'bold')
call GoodWolfHL('fugitiveHeader', 'dress', 'bg', 'bold')
call GoodWolfHL('fugitiveCount', 'plain', 'bg', 'bold')
call GoodWolfHL('fugitiveSymbolicRef', 'dirtyblonde', 'bg', 'none')
call GoodWolfHL('fugitiveModifier', 'dirtyblonde', 'bg', 'bold')
" }}}
" }}}
" Filetype-specific {{{
" Clojure {{{
call GoodWolfHL('clojureParen0', 'lightgravel', '', 'none')
call GoodWolfHL('clojureAnonArg', 'snow', '', 'bold')
" }}}
" CSS {{{
call GoodWolfHL('cssBraces', 'lightgravel', '', 'none')
" }}}
" Diff {{{
call GoodWolfHL('gitDiff', 'lightgravel', '',)
call GoodWolfHL('diffRemoved', 'dress', '',)
call GoodWolfHL('diffAdded', 'lime', '',)
call GoodWolfHL('diffFile', 'coal', 'toffee', 'bold')
call GoodWolfHL('diffNewFile', 'coal', 'toffee', 'bold')
call GoodWolfHL('diffLine', 'coal', 'orange', 'bold')
call GoodWolfHL('diffSubname', 'orange', '', 'none')
" }}}
" Fish {{{
call GoodWolfHL('fishOperator', 'fg', 'bg', 'none')
call GoodWolfHL('fishDerefIdentifier', 'dress', 'bg', 'bold')
" }}}
" HTML {{{
" Punctuation
call GoodWolfHL('htmlTag', 'darkroast', 'bg', 'none')
call GoodWolfHL('htmlEndTag', 'darkroast', 'bg', 'none')
" Tag names
call GoodWolfHL('htmlTagName', 'coffee', '', 'bold')
call GoodWolfHL('htmlSpecialTagName', 'coffee', '', 'bold')
call GoodWolfHL('htmlSpecialChar', 'lime', '', 'none')
" Attributes
call GoodWolfHL('htmlArg', 'coffee', '', 'none')
" Stuff inside an <a> tag
if g:badwolf_html_link_underline
call GoodWolfHL('htmlLink', 'lightgravel', '', 'underline')
else
call GoodWolfHL('htmlLink', 'lightgravel', '', 'none')
endif
" }}}
" HTML/Django {{{
call GoodWolfHL('djangoTagBlock', 'coffee', 'bg', 'bold')
call GoodWolfHL('djangoStatement', 'orange', 'bg', 'none')
call GoodWolfHL('djangoArgument', 'dress', 'bg', 'none')
call GoodWolfHL('djangoVarBlock', 'lime', 'bg', 'none')
" }}}
" HTML/TEN {{{
call GoodWolfHL('tenTagBlock', 'orange', 'bg', 'bold')
call GoodWolfHL('tenArgument', 'lime', 'bg', 'none')
call GoodWolfHL('tenVarBlock', 'dress', 'bg', 'none')
" }}}
" Java {{{
call GoodWolfHL('javaCommentTitle', 'gravel', '')
call GoodWolfHL('javaDocTags', 'snow', '', 'none')
call GoodWolfHL('javaDocParam', 'plain', '', '')
" }}}
" Jinja {{{
call GoodWolfHL('jinjaVarBlock', 'dirtyblonde', '', 'bold')
call GoodWolfHL('jinjaVariable', 'dirtyblonde', '', 'bold')
call GoodWolfHL('jinjaTagBlock', 'toffee', '', 'bold')
call GoodWolfHL('jinjaStatement', 'toffee', '', 'bold')
call GoodWolfHL('jinjaOperator', 'snow', '', 'none')
call GoodWolfHL('jinjaFilter', 'dress', '', 'none')
call GoodWolfHL('jinjaString', 'coffee', '', 'bold')
" }}}
" LaTeX {{{
call GoodWolfHL('texStatement', 'dress', '', 'none')
call GoodWolfHL('texDocType', 'dress', '', 'none')
call GoodWolfHL('texSection', 'dress', '', 'none')
call GoodWolfHL('texBeginEnd', 'dress', '', 'none')
call GoodWolfHL('texCmd', 'dress', '', 'none')
call GoodWolfHL('texCmdEnv', 'taffy', '', 'bold')
call GoodWolfHL('texCmdItem', 'dirtyblonde', '', 'none')
call GoodWolfHL('texPartArgTitle', 'plain', '', 'none')
call GoodWolfHL('texLstZone', 'toffee', '', 'none')
call GoodWolfHL('texMathZoneA', 'dirtyblonde', '', 'none')
call GoodWolfHL('texMathZoneB', 'dirtyblonde', '', 'none')
call GoodWolfHL('texMathZoneC', 'dirtyblonde', '', 'none')
call GoodWolfHL('texMathZoneD', 'dirtyblonde', '', 'none')
call GoodWolfHL('texMathZoneE', 'dirtyblonde', '', 'none')
call GoodWolfHL('texMathZoneV', 'dirtyblonde', '', 'none')
call GoodWolfHL('texMathZoneX', 'dirtyblonde', '', 'none')
call GoodWolfHL('texMath', 'orange', '', 'none')
call GoodWolfHL('texMathMatcher', 'orange', '', 'none')
call GoodWolfHL('texRefLabel', 'dirtyblonde', '', 'none')
call GoodWolfHL('texRefZone', 'lime', '', 'none')
call GoodWolfHL('texDelimiter', 'orange', '', 'none')
call GoodWolfHL('texZone', 'brightgravel', '', 'none')
call GoodWolfHL('texTabularChar', 'lime', '', 'none')
augroup badwolf_tex
au!
au BufRead,BufNewFile *.tex syn region texMathZoneV start="\\(" end="\\)\|%stopzone\>" keepend contains=@texMathZoneGroup
au BufRead,BufNewFile *.tex syn region texMathZoneX start="\$" skip="\\\\\|\\\$" end="\$\|%stopzone\>" keepend contains=@texMathZoneGroup
augroup END
" }}}
" REPLs {{{
" This isn't a specific plugin, but just useful highlight classes for anything
" that might want to use them.
call GoodWolfHL('replPrompt', 'tardis', '', 'bold')
" }}}
" Mail {{{
call GoodWolfHL('mailSubject', 'orange', '', 'bold')
call GoodWolfHL('mailHeader', 'lightgravel', '', '')
call GoodWolfHL('mailHeaderKey', 'lightgravel', '', '')
call GoodWolfHL('mailHeaderEmail', 'snow', '', '')
call GoodWolfHL('mailURL', 'toffee', '', 'underline')
call GoodWolfHL('mailSignature', 'gravel', '', 'none')
call GoodWolfHL('mailQuoted1', 'gravel', '', 'none')
call GoodWolfHL('mailQuoted2', 'dress', '', 'none')
call GoodWolfHL('mailQuoted3', 'dirtyblonde', '', 'none')
call GoodWolfHL('mailQuoted4', 'orange', '', 'none')
call GoodWolfHL('mailQuoted5', 'lime', '', 'none')
" }}}
" Markdown {{{
call GoodWolfHL('markdownHeadingRule', 'lightgravel', '', 'bold')
call GoodWolfHL('markdownHeadingDelimiter', 'lightgravel', '', 'bold')
call GoodWolfHL('markdownOrderedListMarker', 'lightgravel', '', 'bold')
call GoodWolfHL('markdownListMarker', 'lightgravel', '', 'bold')
call GoodWolfHL('markdownItalic', 'snow', '', 'bold')
call GoodWolfHL('markdownBold', 'snow', '', 'bold')
call GoodWolfHL('markdownH1', 'orange', '', 'bold')
call GoodWolfHL('markdownH2', 'lime', '', 'bold')
call GoodWolfHL('markdownH3', 'lime', '', 'none')
call GoodWolfHL('markdownH4', 'lime', '', 'none')
call GoodWolfHL('markdownH5', 'lime', '', 'none')
call GoodWolfHL('markdownH6', 'lime', '', 'none')
call GoodWolfHL('markdownLinkText', 'toffee', '', 'underline')
call GoodWolfHL('markdownIdDeclaration', 'toffee')
call GoodWolfHL('markdownAutomaticLink', 'toffee', '', 'bold')
call GoodWolfHL('markdownUrl', 'toffee', '', 'bold')
call GoodWolfHL('markdownUrldelimiter', 'lightgravel', '', 'bold')
call GoodWolfHL('markdownLinkDelimiter', 'lightgravel', '', 'bold')
call GoodWolfHL('markdownLinkTextDelimiter', 'lightgravel', '', 'bold')
call GoodWolfHL('markdownCodeDelimiter', 'dirtyblonde', '', 'bold')
call GoodWolfHL('markdownCode', 'dirtyblonde', '', 'none')
call GoodWolfHL('markdownCodeBlock', 'dirtyblonde', '', 'none')
" }}}
" Python {{{
hi def link pythonOperator Operator
call GoodWolfHL('pythonBuiltin', 'plain')
call GoodWolfHL('pythonBuiltinObj', 'plain')
call GoodWolfHL('pythonBuiltinFunc', 'plain')
call GoodWolfHL('pythonEscape', 'plain')
call GoodWolfHL('pythonException', 'plain', '', 'none')
call GoodWolfHL('pythonExceptions', 'plain', '', 'none')
call GoodWolfHL('pythonPrecondit', 'plain', '', 'none')
call GoodWolfHL('pythonDecorator', 'plain', '', 'none')
call GoodWolfHL('pythonRun', 'plain', '', 'none')
call GoodWolfHL('pythonCoding', 'plain', '', 'bold')
" }}}
" Scala {{{
call GoodWolfHL('scalaParameterAnnotation', 'gravel', '', 'bold')
call GoodWolfHL('scalaParamAnnotationValue', 'gravel', '', 'bold')
call GoodWolfHL('scalaCommentAnnotation', 'gravel', '', 'bold')
call GoodWolfHL('scalaDocLinks', 'gravel', '', 'bold')
" }}}
" Singularity {{{
call GoodWolfHL('singularitySectionLine', 'taffy', '', 'bold')
call GoodWolfHL('singularitySection', 'taffy', '', 'bold')
call GoodWolfHL('singularityKeyword', 'dress', '', '')
" }}}
" Vim {{{
call GoodWolfHL('helpHyperTextJump', 'dress', '', 'none')
" }}}
" }}}

108
contrib/badwolf-theme.el Normal file
View File

@@ -0,0 +1,108 @@
(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-taffy "#ff0208")
(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-mediumgravel ))))
`(fringe ((t (:background ,bwc-blackestgravel))))
`(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))))
`(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))))
`(rainbow-delimiters-unmatched-face ((t (:foreground "red"))))
))
(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)))
`(ac-candidate-face ((t (:background ,bwc-lightgravel))))
`(ac-selection-face ((t (:foreground ,bwc-coal :background ,bwc-orange))))
`(flymake-errline ((t (:background nil :underline ,bwc-taffy ))))
`(flymake-warnline ((t (:background nil :underline ,bwc-dress ))))
)
(font-lock-add-keywords 'python-mode `(("\\<\\(import\\||from\\|except\\|finally\\|try\\|from\\|\\)\\>" 1 '(:foreground ,bwc-lime ) t)))
)
(provide-theme 'badwolf)

229
contrib/badwolf.dircolors Normal file
View File

@@ -0,0 +1,229 @@
# ____ _ _ __
# | __ ) __ _ __| |_ _____ | |/ _|
# | _ \ / _` |/ _` \ \ /\ / / _ \| | |_
# | |_) | (_| | (_| |\ V V / (_) | | _|
# |____/ \__,_|\__,_| \_/\_/ \___/|_|_|
# _ _ _
# __| (_)_ __ ___ ___ | | ___ _ __ ___
# / _` | | '__/ __/ _ \| |/ _ \| '__/ __|
# | (_| | | | | (_| (_) | | (_) | | \__ \
# \__,_|_|_| \___\___/|_|\___/|_| |___/
#
#
# Author: Jon Bernard
#
# Below, there should be one TERM entry for each termtype that is colorizable
TERM Eterm
TERM ansi
TERM color-xterm
TERM con132x25
TERM con132x30
TERM con132x43
TERM con132x60
TERM con80x25
TERM con80x28
TERM con80x30
TERM con80x43
TERM con80x50
TERM con80x60
TERM cons25
TERM console
TERM cygwin
TERM dtterm
TERM eterm-color
TERM gnome
TERM gnome-256color
TERM jfbterm
TERM konsole
TERM kterm
TERM linux
TERM linux-c
TERM mach-color
TERM mlterm
TERM putty
TERM rxvt
TERM rxvt-256color
TERM rxvt-cygwin
TERM rxvt-cygwin-native
TERM rxvt-unicode
TERM rxvt-unicode-256color
TERM rxvt-unicode256
TERM screen
TERM screen-256color
TERM screen-256color-bce
TERM screen-bce
TERM screen-w
TERM screen.Eterm
TERM screen.rxvt
TERM screen.linux
TERM st-256color
TERM terminator
TERM vt100
TERM xterm
TERM xterm-16color
TERM xterm-256color
TERM xterm-88color
TERM xterm-color
TERM xterm-debian
TERM xterm-termite
# Below are the color init strings for the basic file types. A color init string
# consists of one or more of the following numeric codes:
#
# Attribute codes:
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
#
# Text color codes:
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
#
# Background color codes:
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
NORMAL 0;38;5;15 # no color code at all
#FILE 00 # regular file: use no color at all
RESET 0 # reset to "normal" color
DIR 1;38;5;39 # directory
LINK 01;38;5;14 # symbolic link. (If you set this to 'target' instead of a
# numerical value, the color is as for the file pointed to.)
MULTIHARDLINK 00 # regular file with more than one link
FIFO 40;33 # pipe
SOCK 1;38;5;211 # socket
DOOR 01;35 # door
BLK 40;33;01 # block device driver
CHR 40;33;01 # character device driver
ORPHAN 40;31;01 # symlink to nonexistent file, or non-stat'able file
SETUID 37;41 # file that is setuid (u+s)
SETGID 30;43 # file that is setgid (g+s)
CAPABILITY 30;41 # file with capability
STICKY_OTHER_WRITABLE 30;42 # dir that is sticky and other-writable (+t,o+w)
OTHER_WRITABLE 34;42 # dir that is other-writable (o+w) and not sticky
STICKY 37;44 # dir with the sticky bit set (+t) and not other-writable
# This is for files with execute permission:
EXEC 1;38;5;154
# List any file extensions like '.gz' or '.tar' that you would like ls
# to colorize below. Put the extension, a space, and the color init string.
# (and any comments you want to add after a '#')
# If you use DOS-style suffixes, you may want to uncomment the following:
#.cmd 01;32 # executables (bright green)
#.exe 01;32
#.com 01;32
#.btm 01;32
#.bat 01;32
# Or if you want to colorize scripts even if they do not have the
# executable bit actually set.
#.sh 01;32
#.csh 01;32
# archives or compressed (bright red)
.tar 01;38;5;196
.tgz 01;38;5;196
.arj 01;38;5;196
.taz 01;38;5;196
.lzh 01;38;5;196
.lzma 01;38;5;196
.tlz 01;38;5;196
.txz 01;38;5;196
.zip 01;38;5;196
.z 01;38;5;196
.Z 01;38;5;196
.dz 01;38;5;196
.gz 01;38;5;196
.lz 01;38;5;196
.xz 01;38;5;196
.bz2 01;38;5;196
.bz 01;38;5;196
.tbz 01;38;5;196
.tbz2 01;38;5;196
.tz 01;38;5;196
.deb 01;38;5;196
.rpm 01;38;5;196
.jar 01;38;5;196
.war 01;38;5;196
.ear 01;38;5;196
.sar 01;38;5;196
.rar 01;38;5;196
.ace 01;38;5;196
.zoo 01;38;5;196
.cpio 01;38;5;196
.7z 01;38;5;196
.rz 01;38;5;196
# image formats
.jpg 01;38;5;211
.jpeg 01;38;5;211
.gif 01;38;5;211
.bmp 01;38;5;211
.pbm 01;38;5;211
.pgm 01;38;5;211
.ppm 01;38;5;211
.tga 01;38;5;211
.xbm 01;38;5;211
.xpm 01;38;5;211
.tif 01;38;5;211
.tiff 01;38;5;211
.png 01;38;5;211
.svg 01;38;5;211
.svgz 01;38;5;211
.mng 01;38;5;211
.pcx 01;38;5;211
.mov 01;38;5;211
.mpg 01;38;5;211
.mpeg 01;38;5;211
.m2v 01;38;5;211
.mkv 01;38;5;211
.webm 01;38;5;211
.ogm 01;38;5;211
.mp4 01;38;5;211
.m4v 01;38;5;211
.mp4v 01;38;5;211
.vob 01;38;5;211
.qt 01;38;5;211
.nuv 01;38;5;211
.wmv 01;38;5;211
.asf 01;38;5;211
.rm 01;38;5;211
.rmvb 01;38;5;211
.flc 01;38;5;211
.avi 01;38;5;211
.fli 01;38;5;211
.flv 01;38;5;211
.gl 01;38;5;211
.dl 01;38;5;211
.xcf 01;38;5;211
.xwd 01;38;5;211
.yuv 01;38;5;211
.cgm 01;38;5;211
.emf 01;38;5;211
.axv 01;38;5;211
.anx 01;38;5;211
.ogv 01;38;5;211
.ogx 01;38;5;211
# audio formats
.aac 0;38;5;214
.au 0;38;5;214
.flac 0;38;5;214
.mid 0;38;5;214
.midi 0;38;5;214
.mka 0;38;5;214
.mp3 0;38;5;214
.mpc 0;38;5;214
.ogg 0;38;5;214
.ra 0;38;5;214
.wav 0;38;5;214
.axa 0;38;5;214
.oga 0;38;5;214
.spx 0;38;5;214
.xspf 0;38;5;214
# build system scripts
.do 00;35
*Makefile 00;35
# cached/compiled files
.o 00;30;1
.pyc 00;30;1
.fasl 00;30;1

View File

@@ -0,0 +1,142 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>DVTConsoleDebuggerInputTextColor</key>
<string>0.972549 0.964706 0.94902 1</string>
<key>DVTConsoleDebuggerInputTextFont</key>
<string>Monaco - 11.0</string>
<key>DVTConsoleDebuggerOutputTextColor</key>
<string>0.972549 0.964706 0.94902 1</string>
<key>DVTConsoleDebuggerOutputTextFont</key>
<string>Monaco - 11.0</string>
<key>DVTConsoleDebuggerPromptTextColor</key>
<string>0.0392157 0.615686 1 1</string>
<key>DVTConsoleDebuggerPromptTextFont</key>
<string>Monaco - 11.0</string>
<key>DVTConsoleExectuableInputTextColor</key>
<string>0.972549 0.964706 0.94902 1</string>
<key>DVTConsoleExectuableInputTextFont</key>
<string>Monaco - 11.0</string>
<key>DVTConsoleExectuableOutputTextColor</key>
<string>0.972549 0.964706 0.94902 1</string>
<key>DVTConsoleExectuableOutputTextFont</key>
<string>Monaco - 11.0</string>
<key>DVTConsoleTextBackgroundColor</key>
<string>0.138326 0.138352 0.13832 1</string>
<key>DVTConsoleTextInsertionPointColor</key>
<string>0 0 0 1</string>
<key>DVTConsoleTextSelectionColor</key>
<string>0.2 0.2 0.2 1</string>
<key>DVTDebuggerInstructionPointerColor</key>
<string>0.705792 0.8 0.544 1</string>
<key>DVTSourceTextBackground</key>
<string>0.0784314 0.0784314 0.0745098 1</string>
<key>DVTSourceTextBlockDimBackgroundColor</key>
<string>0.5 0.5 0.5 1</string>
<key>DVTSourceTextInsertionPointColor</key>
<string>0.0392157 0.615686 1 1</string>
<key>DVTSourceTextInvisiblesColor</key>
<string>0.85098 0.807843 0.764706 1</string>
<key>DVTSourceTextSelectionColor</key>
<string>0.207843 0.196078 0.176471 1</string>
<key>DVTSourceTextSyntaxColors</key>
<dict>
<key>xcode.syntax.attribute</key>
<string>1 0.619608 0.721569 1</string>
<key>xcode.syntax.character</key>
<string>0.721569 0.533333 0.32549 1</string>
<key>xcode.syntax.comment</key>
<string>0.521569 0.498039 0.470588 1</string>
<key>xcode.syntax.comment.doc</key>
<string>0.521569 0.498039 0.470588 1</string>
<key>xcode.syntax.comment.doc.keyword</key>
<string>0.521569 0.498039 0.470588 1</string>
<key>xcode.syntax.identifier.class</key>
<string>0.972549 0.964706 0.94902 1</string>
<key>xcode.syntax.identifier.class.system</key>
<string>0.972549 0.964706 0.94902 1</string>
<key>xcode.syntax.identifier.constant</key>
<string>0.721569 0.533333 0.32549 1</string>
<key>xcode.syntax.identifier.constant.system</key>
<string>0.721569 0.533333 0.32549 1</string>
<key>xcode.syntax.identifier.function</key>
<string>1 0.654902 0.141176 1</string>
<key>xcode.syntax.identifier.function.system</key>
<string>1 0.654902 0.141176 1</string>
<key>xcode.syntax.identifier.macro</key>
<string>0.682353 0.933333 0 1</string>
<key>xcode.syntax.identifier.macro.system</key>
<string>0.682353 0.933333 0 1</string>
<key>xcode.syntax.identifier.type</key>
<string>1 0.654902 0.141176 1</string>
<key>xcode.syntax.identifier.type.system</key>
<string>1 0.654902 0.141176 1</string>
<key>xcode.syntax.identifier.variable</key>
<string>0.972549 0.964706 0.94902 1</string>
<key>xcode.syntax.identifier.variable.system</key>
<string>0.972549 0.964706 0.94902 1</string>
<key>xcode.syntax.keyword</key>
<string>1 0.172549 0.294118 1</string>
<key>xcode.syntax.number</key>
<string>0.721569 0.533333 0.32549 1</string>
<key>xcode.syntax.plain</key>
<string>0.972549 0.964706 0.94902 1</string>
<key>xcode.syntax.preprocessor</key>
<string>0.682353 0.933333 0 1</string>
<key>xcode.syntax.string</key>
<string>0.956863 0.811765 0.52549 1</string>
<key>xcode.syntax.url</key>
<string>0.721569 0.533333 0.32549 1</string>
</dict>
<key>DVTSourceTextSyntaxFonts</key>
<dict>
<key>xcode.syntax.attribute</key>
<string>Monaco - 11.0</string>
<key>xcode.syntax.character</key>
<string>Monaco - 11.0</string>
<key>xcode.syntax.comment</key>
<string>Monaco - 11.0</string>
<key>xcode.syntax.comment.doc</key>
<string>Monaco - 11.0</string>
<key>xcode.syntax.comment.doc.keyword</key>
<string>Monaco - 11.0</string>
<key>xcode.syntax.identifier.class</key>
<string>Monaco - 11.0</string>
<key>xcode.syntax.identifier.class.system</key>
<string>Monaco - 11.0</string>
<key>xcode.syntax.identifier.constant</key>
<string>Monaco - 11.0</string>
<key>xcode.syntax.identifier.constant.system</key>
<string>Monaco - 11.0</string>
<key>xcode.syntax.identifier.function</key>
<string>Monaco - 11.0</string>
<key>xcode.syntax.identifier.function.system</key>
<string>Monaco - 11.0</string>
<key>xcode.syntax.identifier.macro</key>
<string>Monaco - 11.0</string>
<key>xcode.syntax.identifier.macro.system</key>
<string>Monaco - 11.0</string>
<key>xcode.syntax.identifier.type</key>
<string>Monaco - 11.0</string>
<key>xcode.syntax.identifier.type.system</key>
<string>Monaco - 11.0</string>
<key>xcode.syntax.identifier.variable</key>
<string>Monaco - 11.0</string>
<key>xcode.syntax.identifier.variable.system</key>
<string>Monaco - 11.0</string>
<key>xcode.syntax.keyword</key>
<string>Monaco - 11.0</string>
<key>xcode.syntax.number</key>
<string>Monaco - 11.0</string>
<key>xcode.syntax.plain</key>
<string>Monaco - 11.0</string>
<key>xcode.syntax.preprocessor</key>
<string>Monaco - 11.0</string>
<key>xcode.syntax.string</key>
<string>Monaco - 11.0</string>
<key>xcode.syntax.url</key>
<string>Monaco - 11.0</string>
</dict>
</dict>
</plist>

44
contrib/badwolf.muttrc Normal file
View File

@@ -0,0 +1,44 @@
color normal color15 color233
color error brightcolor15 color196
color indicator color15 color235
color status brightcolor39 color233
color markers color142 color233
color hdrdefault color245 color233
color header brightcolor214 color233 "^(Subject): "
color signature color243 color233
color body color137 color233 [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+
color body color137 color233 ((https?|ftp)://|www)+[\-\.\;@,/%~_:?&=\#a-zA-Z0-9+]+
color bold brightcolor15 color233
color search brightcolor16 color221
color quoted color243 color233
color quoted1 color211 color233
color quoted2 color222 color233
color quoted3 color214 color233
color quoted4 color154 color233
color tilde color240 color233
color tree color240 color233
color attachment brightcolor211 color233
# http://www.mutt.org/doc/manual/manual-4.html#ss4.2
# color index color241 color233 ~A
# color index color241 color233 ~Q
# color index color243 color233 ~P
color index color221 color233 ~N
color index brightcolor211 color233 ~F
color index brightcolor39 color233 ~T
color index color243 color233 ~Q
color index color196 color233 ~D
# Colorize inline diffs, really helpful for LKML or other mailing lists where
# mails frequently include patches.
color body brightcolor15 color233 '^diff .*'
color body brightcolor15 color233 '^[Ii]{1}ndex .*'
color body brightcolor15 color233 '^=+$'
color body brightcolor15 color233 '^(---|\+\+\+) .*'
color body brightcolor15 color233 '^@@ .*'
color body color121 color233 '^\+([^\+].*)?$'
color body color211 color233 '^-([^-].*)?$'

3
package.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
hg archive ~/Desktop/badwolf.zip -I 'colors' -I README.markdown -I 'contrib'