Skip to content

Commit

Permalink
Update iTerm 16-color palette; use new grey shade for ColorColumn/Cur…
Browse files Browse the repository at this point in the history
…sorColumn/CursorLine/StatusLine in 16-color mode
  • Loading branch information
joshdick committed Dec 3, 2015
1 parent e777901 commit 4bb1115
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions One Dark.itermcolors
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
8 changes: 4 additions & 4 deletions colors/onedark.vim
Original file line number Diff line number Diff line change
@@ -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/
Expand Down Expand Up @@ -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" }
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4bb1115

Please sign in to comment.