From f5c77ff18683efeef5fa0cf18c8237f2dbe41ec0 Mon Sep 17 00:00:00 2001 From: Illia Sorokoumov Date: Wed, 9 Jun 2021 21:40:54 +0200 Subject: [PATCH 1/2] Fixes to dark mode (256 color scheme) --- colors/one.vim | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/colors/one.vim b/colors/one.vim index 54747c3..dde097e 100644 --- a/colors/one.vim +++ b/colors/one.vim @@ -308,16 +308,17 @@ if has('gui_running') || has('termguicolors') || &t_Co == 88 || &t_Co == 256 let s:hue_6 = ['#d19a66', '173'] " orange 1 let s:hue_6_2 = ['#e5c07b', '180'] " orange 2 - let s:syntax_bg = ['#282c34', '16'] + let s:syntax_bg = ['#282c34', '232'] let s:syntax_gutter = ['#636d83', '60'] - let s:syntax_cursor = ['#2c323c', '16'] + let s:syntax_cursor = ['#2c323c', '238'] let s:syntax_accent = ['#528bff', '69'] - let s:vertsplit = ['#181a1f', '233'] + let s:vertsplit = ['#181a1f', '238'] let s:special_grey = ['#3b4048', '16'] let s:visual_grey = ['#3e4452', '17'] - let s:pmenu = ['#333841', '16'] + let s:pmenu = ['#333841', '237'] + let s:pmenu_sel = ['#4b5263', '240'] else let s:mono_1 = ['#494b53', '23'] let s:mono_2 = ['#696c77', '60'] @@ -346,6 +347,7 @@ if has('gui_running') || has('termguicolors') || &t_Co == 88 || &t_Co == 256 let s:special_grey = ['#d3d3d3', '251'] let s:visual_grey = ['#d0d0d0', '251'] let s:pmenu = ['#dfdfdf', '253'] + let s:pmenu_sel = ['#c2c2c3', '250'] endif let s:syntax_fg = s:mono_1 @@ -375,8 +377,8 @@ if has('gui_running') || has('termguicolors') || &t_Co == 88 || &t_Co == 256 call X('ModeMsg', s:syntax_fg, '', '') call X('MoreMsg', s:syntax_fg, '', '') call X('NonText', s:mono_3, '', 'none') - call X('PMenu', '', s:pmenu, '') - call X('PMenuSel', '', s:mono_4, '') + call X('PMenu', s:syntax_fg, s:pmenu, '') + call X('PMenuSel', s:syntax_fg, s:pmenu_sel, '') call X('PMenuSbar', '', s:syntax_bg, '') call X('PMenuThumb', '', s:mono_1, '') call X('Question', s:hue_2, '', '') From 518090fa6dcc36be6a8bd5d420e5f7a0868bdd60 Mon Sep 17 00:00:00 2001 From: Illia Sorokoumov Date: Wed, 9 Jun 2021 21:49:35 +0200 Subject: [PATCH 2/2] Use different color font on selected item --- colors/one.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colors/one.vim b/colors/one.vim index dde097e..d610085 100644 --- a/colors/one.vim +++ b/colors/one.vim @@ -378,7 +378,7 @@ if has('gui_running') || has('termguicolors') || &t_Co == 88 || &t_Co == 256 call X('MoreMsg', s:syntax_fg, '', '') call X('NonText', s:mono_3, '', 'none') call X('PMenu', s:syntax_fg, s:pmenu, '') - call X('PMenuSel', s:syntax_fg, s:pmenu_sel, '') + call X('PMenuSel', s:hue_4, s:pmenu_sel, '') call X('PMenuSbar', '', s:syntax_bg, '') call X('PMenuThumb', '', s:mono_1, '') call X('Question', s:hue_2, '', '')