From 4bb1115fa305d7450a187e5d8da2a6d8f09fd6f4 Mon Sep 17 00:00:00 2001 From: Josh Dick Date: Thu, 3 Dec 2015 16:01:14 -0500 Subject: [PATCH] Update iTerm 16-color palette; use new grey shade for ColorColumn/CursorColumn/CursorLine/StatusLine in 16-color mode --- One Dark.itermcolors | 6 +++--- colors/onedark.vim | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/One Dark.itermcolors b/One Dark.itermcolors index 83ba3f5..ddc2d0c 100644 --- a/One Dark.itermcolors +++ b/One Dark.itermcolors @@ -189,13 +189,13 @@ Alpha Component 1 Blue Component - 0.15355826914310455 + 0.25915360450744629 Color Space Calibrated Green Component - 0.1287824809551239 + 0.20990833640098572 Red Component - 0.11223508417606354 + 0.1841433048248291 Ansi 9 Color diff --git a/colors/onedark.vim b/colors/onedark.vim index ec2ed49..9077280 100644 --- a/colors/onedark.vim +++ b/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