From cbc95ca4b32bd2afec53f6239f0f464dd0b02200 Mon Sep 17 00:00:00 2001 From: Sammy Heasley Date: Fri, 22 Oct 2021 15:04:53 -0500 Subject: [PATCH] Use color code 231 for the airline term256 white 15 is the system's base0F color, which may not be white if the user has installed a color theme for their terminal. 231 is the xterm-256color code for #ffffff and is more portable than 15. --- autoload/airline/themes/codedark.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/airline/themes/codedark.vim b/autoload/airline/themes/codedark.vim index ec393d8..ef8e7b5 100644 --- a/autoload/airline/themes/codedark.vim +++ b/autoload/airline/themes/codedark.vim @@ -38,7 +38,7 @@ elseif !exists("g:codedark_term256") let g:codedark_term256=0 endif -let s:cdFront = {'gui': '#FFFFFF', 'cterm': (g:codedark_term256 ? '15' : s:cterm07)} +let s:cdFront = {'gui': '#FFFFFF', 'cterm': (g:codedark_term256 ? '231' : s:cterm07)} let s:cdFrontGray = {'gui': '#D4D4D4', 'cterm': (g:codedark_term256 ? '188' : s:cterm05)} let s:cdBack = {'gui': '#1E1E1E', 'cterm': (g:codedark_term256 ? '234' : s:cterm00)} let s:cdSelection = {'gui': '#264F78', 'cterm': (g:codedark_term256 ? '24' : s:cterm01)}