Permalink
Browse files

Added support for color terminals.

All cterm styles were generated using Shawn Biddle's Vim-toCterm script:

    http://shawncplus.github.com/Vim-toCterm/

Have tested using a 256 color terminal (iTerm), and the result looks
good. OS X Terminal has only 16 colors, so Mac Classic is still no use
there.
  • Loading branch information...
1 parent 8c0065e commit b092bb1843c7e52f0acd66f6d0872cea154d3f5c @nelstrom committed Sep 24, 2010
Showing with 99 additions and 97 deletions.
  1. +99 −97 colors/mac_classic.vim
View
@@ -19,6 +19,7 @@ let g:colors_name = "Mac Classic"
" Colors: {{{1
" hint: to see what the colors look like, run:
" :source script/highlight_colors.vim
+" TODO figure out how to not highlight TODO
"
" #000000
" #3C4C72 - BLUE/GREY - cursor, rails helpers
@@ -44,93 +45,93 @@ let g:colors_name = "Mac Classic"
" }}}
" GUI: {{{1
-hi Cursor guifg=#FFFFFF guibg=#3C4C72
-hi Visual guibg=#C6DEFF
-hi CursorLine guibg=#F0F6FF
-hi CursorColumn guibg=#F0F6FF
-hi LineNr guifg=#808080 guibg=#EFEFEF
-hi VertSplit guifg=#FFFFFF guibg=#CFCFCF gui=NONE
-hi MatchParen guifg=#1E39F6 guibg=NONE gui=bold
-hi Pmenu guibg=#EFEFEF
-hi PmenuSel guibg=#C6DEFF
-hi Directory guifg=#D51015 gui=bold
-hi Folded guifg=#0066FF guibg=#FFFFFF
+hi Cursor guifg=#FFFFFF ctermfg=15 guibg=#3C4C72 ctermbg=240
+hi Visual guibg=#C6DEFF ctermbg=189
+hi CursorLine guibg=#F0F6FF ctermbg=15
+hi CursorColumn guibg=#F0F6FF ctermbg=15
+hi LineNr guifg=#808080 ctermfg=244 guibg=#EFEFEF ctermbg=7
+hi VertSplit guifg=#FFFFFF ctermfg=15 guibg=#CFCFCF ctermbg=252 gui=NONE
+hi MatchParen guifg=#1E39F6 ctermfg=27 guibg=NONE gui=bold
+hi Pmenu guibg=#EFEFEF ctermbg=7
+hi PmenuSel guibg=#C6DEFF ctermbg=189
+hi Directory guifg=#D51015 ctermfg=160 gui=bold
+hi Folded guifg=#0066FF ctermfg=27 guibg=#FFFFFF ctermbg=15
" StatusLine: {{{1
-hi StatusLine guifg=#000000 guibg=#C6DEFF gui=italic
-hi StatusLineNC guifg=#000000 guibg=#EFEFEF gui=NONE
+hi StatusLine guifg=#000000 ctermfg=0 guibg=#C6DEFF ctermbg=189 gui=italic
+hi StatusLineNC guifg=#000000 ctermfg=0 guibg=#EFEFEF ctermbg=7 gui=NONE
" Search: {{{1
" [IncSearch is stronger than Search]
-hi IncSearch guifg=NONE guibg=#FFCE77 gui=NONE
-hi Search guibg=#FFE6BB
-
-hi Normal guifg=#000000 guibg=#FFFFFF
-hi Boolean guifg=#6E79F1 gui=bold
-hi Character guifg=#D51015 gui=bold
-hi Comment guifg=#0066FF gui=italic
-hi Conditional guifg=#1E39F6 gui=bold
-hi Constant guifg=#D51015 gui=bold
-hi Define guifg=#1E39F6 gui=bold
-hi ErrorMsg guifg=#FFFFFF guibg=#990000
-hi WarningMsg guifg=#FFFFFF guibg=#990000
-hi Float guifg=#0000A2
-hi Function guifg=#0000A2 gui=bold
-hi Identifier guifg=#1E39F6 gui=bold
-hi Keyword guifg=#1E39F6 gui=bold
-hi Label guifg=#007B22
-hi Number guifg=#0000A2
-hi Operator guifg=#1E39F6 gui=bold
-hi PreProc guifg=#1E39F6 gui=bold
-hi Special guifg=#000000
-hi Statement guifg=#1E39F6 gui=bold
-hi StorageClass guifg=#1E39F6 gui=bold
-hi String guifg=#007B22
-hi Title guifg=#000000 gui=bold
-hi Todo guifg=#0066FF gui=inverse,bold,italic
+hi IncSearch guifg=NONE guibg=#FFCE77 ctermbg=222 gui=NONE
+hi Search guibg=#FFE6BB ctermbg=223
+
+hi Normal guifg=#000000 ctermfg=0 guibg=#FFFFFF ctermbg=15
+hi Boolean guifg=#6E79F1 ctermfg=69 gui=bold
+hi Character guifg=#D51015 ctermfg=160 gui=bold
+hi Comment guifg=#0066FF ctermfg=27 gui=italic
+hi Conditional guifg=#1E39F6 ctermfg=27 gui=bold
+hi Constant guifg=#D51015 ctermfg=160 gui=bold
+hi Define guifg=#1E39F6 ctermfg=27 gui=bold
+hi ErrorMsg guifg=#FFFFFF ctermfg=15 guibg=#990000 ctermbg=88
+hi WarningMsg guifg=#FFFFFF ctermfg=15 guibg=#990000 ctermbg=88
+hi Float guifg=#0000A2 ctermfg=19
+hi Function guifg=#0000A2 ctermfg=19 gui=bold
+hi Identifier guifg=#1E39F6 ctermfg=27 gui=bold
+hi Keyword guifg=#1E39F6 ctermfg=27 gui=bold
+hi Label guifg=#007B22 ctermfg=28
+hi Number guifg=#0000A2 ctermfg=19
+hi Operator guifg=#1E39F6 ctermfg=27 gui=bold
+hi PreProc guifg=#1E39F6 ctermfg=27 gui=bold
+hi Special guifg=#000000 ctermfg=0
+hi Statement guifg=#1E39F6 ctermfg=27 gui=bold
+hi StorageClass guifg=#1E39F6 ctermfg=27 gui=bold
+hi String guifg=#007B22 ctermfg=28
+hi Title guifg=#000000 ctermfg=0 gui=bold
+hi Todo guifg=#0066FF ctermfg=27 gui=inverse,bold,italic
hi Underlined gui=underline
" Invisible character colors
-hi NonText guifg=#DFDFDF guibg=#FFFFFF
-hi SpecialKey guifg=#DFDFDF guibg=#FFFFFF
+hi NonText guifg=#DFDFDF ctermfg=253 guibg=#FFFFFF ctermbg=15
+hi SpecialKey guifg=#DFDFDF ctermfg=253 guibg=#FFFFFF ctermbg=15
" Ruby styles {{{1
-hi rubyClass guifg=#1E39F6 gui=bold
-hi rubyFunction guifg=#0000A2 gui=bold
-hi rubyInterpolationDelimiter guifg=#00BC41
-hi rubyInterpolation guifg=#00BC41
-hi rubySymbol guifg=#D51015 gui=bold
-hi rubyConstant guifg=#6E79F1 gui=bold
-hi rubyStringDelimiter guifg=#007B22
-hi rubyInstanceVariable guifg=#318495
-hi rubyInclude guifg=#1E39F6 gui=bold
-hi rubyGlobalVariable guifg=#318495
-hi rubyRegexp guifg=#E18AC7
-hi rubyRegexpAnchor guifg=#E18AC7
-hi rubyRegexpQuantifier guifg=#E18AC7
-hi rubyRegexpParens guifg=#E18AC7
-hi rubyRegexpEscape guifg=#00BC41
-hi rubyRegexpCharClass guifg=#00BC41
-hi rubyRegexpDelimiter guifg=#E18AC7
-hi rubyEscape guifg=#00BC41
-hi rubyControl guifg=#1E39F6 gui=bold
-hi rubyOperator guifg=#1E39F6 gui=bold
-hi rubyException guifg=#1E39F6 gui=bold
-hi rubyPseudoVariable guifg=#318495
-hi rubyRailsUserClass guifg=#6E79F1 gui=bold
-hi rubyRailsARAssociationMethod guifg=#3C4C72 gui=bold
-hi rubyRailsARMethod guifg=#3C4C72 gui=bold
-hi rubyRailsRenderMethod guifg=#3C4C72 gui=bold
-hi rubyRailsMethod guifg=#3C4C72 gui=bold
+hi rubyClass guifg=#1E39F6 ctermfg=27 gui=bold
+hi rubyFunction guifg=#0000A2 ctermfg=19 gui=bold
+hi rubyInterpolationDelimiter guifg=#00BC41 ctermfg=35
+hi rubyInterpolation guifg=#00BC41 ctermfg=35
+hi rubySymbol guifg=#D51015 ctermfg=160 gui=bold
+hi rubyConstant guifg=#6E79F1 ctermfg=69 gui=bold
+hi rubyStringDelimiter guifg=#007B22 ctermfg=28
+hi rubyInstanceVariable guifg=#318495 ctermfg=66
+hi rubyInclude guifg=#1E39F6 ctermfg=27 gui=bold
+hi rubyGlobalVariable guifg=#318495 ctermfg=66
+hi rubyRegexp guifg=#E18AC7 ctermfg=176
+hi rubyRegexpAnchor guifg=#E18AC7 ctermfg=176
+hi rubyRegexpQuantifier guifg=#E18AC7 ctermfg=176
+hi rubyRegexpParens guifg=#E18AC7 ctermfg=176
+hi rubyRegexpEscape guifg=#00BC41 ctermfg=35
+hi rubyRegexpCharClass guifg=#00BC41 ctermfg=35
+hi rubyRegexpDelimiter guifg=#E18AC7 ctermfg=176
+hi rubyEscape guifg=#00BC41 ctermfg=35
+hi rubyControl guifg=#1E39F6 ctermfg=27 gui=bold
+hi rubyOperator guifg=#1E39F6 ctermfg=27 gui=bold
+hi rubyException guifg=#1E39F6 ctermfg=27 gui=bold
+hi rubyPseudoVariable guifg=#318495 ctermfg=66
+hi rubyRailsUserClass guifg=#6E79F1 ctermfg=69 gui=bold
+hi rubyRailsARAssociationMethod guifg=#3C4C72 ctermfg=240 gui=bold
+hi rubyRailsARMethod guifg=#3C4C72 ctermfg=240 gui=bold
+hi rubyRailsRenderMethod guifg=#3C4C72 ctermfg=240 gui=bold
+hi rubyRailsMethod guifg=#3C4C72 ctermfg=240 gui=bold
hi link erubyComment Comment
-hi erubyRailsMethod guifg=#3C4C72 gui=bold
+hi erubyRailsMethod guifg=#3C4C72 ctermfg=240 gui=bold
" HTML: {{{1
-hi htmlTag guifg=#1E39F6
+hi htmlTag guifg=#1E39F6 ctermfg=27
hi link htmlEndTag htmlTag
hi link htmlTagName htmlTag
hi link htmlArg htmlTag
-hi htmlSpecialChar guifg=#D51015 gui=bold
+hi htmlSpecialChar guifg=#D51015 ctermfg=160 gui=bold
hi htmlH1 gui=bold
hi link htmlH2 htmlH1
hi link htmlH3 htmlH1
@@ -139,14 +140,14 @@ hi link htmlH5 htmlH1
hi link htmlH6 htmlH1
" JavaScript: {{{1
-hi javaScriptFunction guifg=#1E39F6 gui=bold
-hi javaScriptFuncName guifg=#318495 gui=italic
-hi javaScriptLabel guifg=#0000A2 gui=bold
-hi javaScriptRailsFunction guifg=#3C4C72 gui=bold
-hi javaScriptType guifg=#318495 gui=none
-hi javaScriptArgument guifg=#318495 gui=italic
-hi javaScriptRegexpString guifg=#E18AC7 gui=NONE
-hi javaScriptSpecial guifg=#00BC41 gui=NONE
+hi javaScriptFunction guifg=#1E39F6 ctermfg=27 gui=bold
+hi javaScriptFuncName guifg=#318495 ctermfg=66 gui=italic
+hi javaScriptLabel guifg=#0000A2 ctermfg=19 gui=bold
+hi javaScriptRailsFunction guifg=#3C4C72 ctermfg=240 gui=bold
+hi javaScriptType guifg=#318495 ctermfg=66 gui=none
+hi javaScriptArgument guifg=#318495 ctermfg=66 gui=italic
+hi javaScriptRegexpString guifg=#E18AC7 ctermfg=176 gui=NONE
+hi javaScriptSpecial guifg=#00BC41 ctermfg=35 gui=NONE
" NOTE: Syntax Highlighting for javascript doesn't match the
" TextMate version very accurately, because the javascript
" syntax file does not create matches for some items. In
@@ -156,50 +157,51 @@ hi javaScriptSpecial guifg=#00BC41 gui=NONE
" myFunction: function() { ... }
" YAML: {{{1
-hi yamlAnchor guifg=#318495
-hi yamlAlias guifg=#318495
-hi yamlDocumentHeader guibg=#F2F2F2
+hi yamlAnchor guifg=#318495 ctermfg=66
+hi yamlAlias guifg=#318495 ctermfg=66
+hi yamlDocumentHeader guibg=#F2F2F2 ctermbg=7
" CSS: {{{1
hi cssTagName gui=bold
hi cssIdentifier gui=italic
hi link cssClassName cssIdentifier
-hi cssDefinition guifg=#6E79F1
+hi cssDefinition guifg=#6E79F1 ctermfg=69
hi link cssRenderProp cssDefinition
hi link cssTextProp cssDefinition
hi link cssFontProp cssDefinition
hi link cssColorProp cssDefinition
hi link cssBoxProp cssDefinition
hi link cssGeneratedContentProp cssDefinition
hi link cssUIProp cssDefinition
-hi cssCommonAttr guifg=#00BC41
+hi cssCommonAttr guifg=#00BC41 ctermfg=35
hi link cssRenderAttr cssCommonAttr
hi link cssTextAttr cssCommonAttr
hi link cssFontAttr cssCommonAttr
hi link cssGeneratedContentAttr cssCommonAttr
-hi cssURL guifg=#007B22
-hi cssFunctionName guifg=#3C4C72 gui=bold
-hi cssColor guifg=#D51015 gui=bold
-hi cssValueLength guifg=#0000A2
-hi cssImportant guifg=#1E39F6 gui=bold
+hi cssURL guifg=#007B22 ctermfg=28
+hi cssFunctionName guifg=#3C4C72 ctermfg=240 gui=bold
+hi cssColor guifg=#D51015 ctermfg=160 gui=bold
+hi cssValueLength guifg=#0000A2 ctermfg=19
+hi cssImportant guifg=#1E39F6 ctermfg=27 gui=bold
" Vimscript: {{{1
-hi vimGroup guifg=#007B22 gui=bold
+hi vimGroup guifg=#007B22 ctermfg=28 gui=bold
hi link vimHiGroup vimGroup
-hi vimCommentTitle guifg=#3C4C72 gui=bold
+hi vimCommentTitle guifg=#3C4C72 ctermfg=240 gui=bold
+hi helpSpecial guifg=#6E79F1 ctermfg=69
" Markdown: {{{1
hi markdownBold gui=bold
hi markdownItalic gui=italic
-hi markdownCode guifg=#007B22
+hi markdownCode guifg=#007B22 ctermfg=28
hi link markdownCodeBlock markdownCode
" Outliner: {{{1
-hi BT1 guifg=#808080 gui=italic
-hi OL1 guifg=#000000 gui=bold
-hi OL2 guifg=#0000A2 gui=bold
-hi OL3 guifg=#007B22 gui=bold
-hi OL4 guifg=#6E79F1 gui=NONE
+hi BT1 guifg=#808080 ctermfg=244 gui=italic
+hi OL1 guifg=#000000 ctermfg=0 gui=bold
+hi OL2 guifg=#0000A2 ctermfg=19 gui=bold
+hi OL3 guifg=#007B22 ctermfg=28 gui=bold
+hi OL4 guifg=#6E79F1 ctermfg=69 gui=NONE
" Modelines: {{{1
" vim: nowrap fdm=marker
" }}}

0 comments on commit b092bb1

Please sign in to comment.