Skip to content

Commit

Permalink
Reduced contrast on non-text characters in VIM on both light & dark (#97
Browse files Browse the repository at this point in the history
)
  • Loading branch information
RussBrown00 committed Oct 14, 2020
1 parent 018f332 commit 8992311
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions vim/colors/onehalfdark.vim
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ let s:bg = s:black
let s:comment_fg = { "gui": "#5c6370", "cterm": "241" }
let s:gutter_bg = { "gui": "#282c34", "cterm": "236" }
let s:gutter_fg = { "gui": "#919baa", "cterm": "247" }
let s:non_text = { "gui": "#373C45", "cterm": "239" }

let s:cursor_line = { "gui": "#313640", "cterm": "237" }
let s:color_col = { "gui": "#313640", "cterm": "237" }
Expand Down Expand Up @@ -61,7 +62,6 @@ endfun

" User interface colors {
call s:h("Normal", s:fg, s:bg, "")
call s:h("NonText", s:fg, "", "")

call s:h("Cursor", s:bg, s:blue, "")
call s:h("CursorColumn", "", s:cursor_line, "")
Expand Down Expand Up @@ -121,7 +121,8 @@ call s:h("WildMenu", s:fg, "", "")
" Syntax colors {
" Whitespace is defined in Neovim, not Vim.
" See :help hl-Whitespace and :help hl-SpecialKey
call s:h("Whitespace", s:comment_fg, "", "")
call s:h("Whitespace", s:non_text, "", "")
call s:h("NonText", s:non_text, "", "")
call s:h("Comment", s:comment_fg, "", "")
call s:h("Constant", s:cyan, "", "")
call s:h("String", s:green, "", "")
Expand Down
5 changes: 3 additions & 2 deletions vim/colors/onehalflight.vim
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ let s:bg = s:white
let s:comment_fg = { "gui": "#a0a1a7", "cterm": "247" }
let s:gutter_bg = { "gui": "#fafafa", "cterm": "231" }
let s:gutter_fg = { "gui": "#d4d4d4", "cterm": "252" }
let s:non_text = { "gui": "#e5e5e5", "cterm": "252" }

let s:cursor_line = { "gui": "#f0f0f0", "cterm": "255" }
let s:color_col = { "gui": "#f0f0f0", "cterm": "255" }
Expand Down Expand Up @@ -61,7 +62,6 @@ endfun

" User interface colors {
call s:h("Normal", s:fg, s:bg, "")
call s:h("NonText", s:fg, "", "")

call s:h("Cursor", s:bg, s:blue, "")
call s:h("CursorColumn", "", s:cursor_line, "")
Expand Down Expand Up @@ -121,7 +121,8 @@ call s:h("WildMenu", s:fg, "", "")
" Syntax colors {
" Whitespace is defined in Neovim, not Vim.
" See :help hl-Whitespace and :help hl-SpecialKey
call s:h("Whitespace", s:comment_fg, "", "")
call s:h("Whitespace", s:non_text, "", "")
call s:h("NonText", s:non_text, "", "")
call s:h("Comment", s:comment_fg, "", "")
call s:h("Constant", s:cyan, "", "")
call s:h("String", s:green, "", "")
Expand Down

0 comments on commit 8992311

Please sign in to comment.