Browse Source

Update iTerm 16-color palette; use new grey shade for ColorColumn/CursorColumn/CursorLine/StatusLine in 16-color mode

pull/10/head
Josh Dick 9 years ago
parent
commit
4bb1115fa3
  1. 6
      One Dark.itermcolors
  2. 8
      colors/onedark.vim

6
One Dark.itermcolors

@ -189,13 +189,13 @@
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.15355826914310455</real>
<real>0.25915360450744629</real>
<key>Color Space</key>
<string>Calibrated</string>
<key>Green Component</key>
<real>0.1287824809551239</real>
<real>0.20990833640098572</real>
<key>Red Component</key>
<real>0.11223508417606354</real>
<real>0.1841433048248291</real>
</dict>
<key>Ansi 9 Color</key>
<dict>

8
colors/onedark.vim

@ -1,6 +1,6 @@
" Vim Color File
" Name: onedark.vim
" Version: 1.3
" Version: 1.4
" Maintainer: https://github.com/joshdick/onedark.vim/
" License: The MIT License (MIT)
" Based On: https://github.com/MaxSt/FlatColor/
@ -80,13 +80,13 @@ let s:cyan = { "gui": "#56B6C2", "cterm": "38", "cterm16": "6"} " Alternate cter
let s:white = { "gui": "#ABB2BF", "cterm": "145", "cterm16" : "7" }
let s:black = { "gui": "#282C34", "cterm": "235", "cterm16": "8" }
let s:black = { "gui": "#282C34", "cterm": "235", "cterm16": "0" }
let s:visual_black = { "gui": "NONE", "cterm": "NONE", "cterm16": s:black.cterm16 } " Black out selected text in 16-color visual mode
let s:comment_grey = { "gui": "#5C6670", "cterm": "59", "cterm16": "15" }
let s:gutter_fg_grey = { "gui": "#636D83", "cterm": "238", "cterm16": "15" }
let s:gutter_bg_grey = { "gui": "#2C313A", "cterm": "NONE", "cterm16": "NONE" }
let s:cursor_grey = { "gui": "#2C323B", "cterm": "236", "cterm16": "15" } " TODO: This cterm16 value doesn't work great here
let s:cursor_grey = { "gui": "#2C323B", "cterm": "236", "cterm16": "8" }
let s:visual_grey = { "gui": "#3E4451", "cterm": "237", "cterm16": "15" }
let s:special_grey = { "gui": "#383C45", "cterm": "238", "cterm16": "15" }
let s:vertsplit = { "gui": "#181A1F", "cterm": "59", "cterm16": "15" }
@ -170,7 +170,7 @@ call s:h("SpellBad", { "fg": s:red }) " Word that is not recognized by the spell
call s:h("SpellCap", { "fg": s:dark_yellow }) " Word that should start with a capital. This will be combined with the highlighting used otherwise.
call s:h("SpellLocal", { "fg": s:dark_yellow }) " Word that is recognized by the spellchecker as one that is used in another region. This will be combined with the highlighting used otherwise.
call s:h("SpellRare", { "fg": s:dark_yellow }) " Word that is recognized by the spellchecker as one that is hardly ever used. spell This will be combined with the highlighting used otherwise.
call s:h("StatusLine", { "fg": s:white }) " status line of current window
call s:h("StatusLine", { "fg": s:white, "bg": s:cursor_grey }) " status line of current window
call s:h("StatusLineNC", { "fg": s:comment_grey }) " status lines of not-current windows Note: if this is equal to "StatusLine" Vim will use "^^^" in the status line of the current window.
call s:h("TabLine", {}) " tab pages line, not active tab page label
call s:h("TabLineFill", {}) " tab pages line, where there are no labels

Loading…
Cancel
Save