From f831bbb6b506c84a8ae5d06a751f82d4cc7b8f17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Ti=C3=A1?= Date: Mon, 29 May 2017 20:46:57 -0600 Subject: [PATCH 1/2] Add spacevim_colorscheme_bg documentation --- docs/layers/colorscheme.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/layers/colorscheme.md b/docs/layers/colorscheme.md index 7223da3d0..8ac6821d8 100644 --- a/docs/layers/colorscheme.md +++ b/docs/layers/colorscheme.md @@ -1,6 +1,15 @@ # [Layers](https://spacevim.org/layers) > colorscheme -This layer provides many colorschemes for SpaceVim, the default colorscheme is gruvbox. to change the colorscheme: +This layer provides many Vim colorschemes for SpaceVim, the default colorscheme is gruvbox. + +To change the colorscheme: ```vim let g:spacevim_colorscheme = 'onedark' ``` + +Some colorschemes offer dark and light styles. Most of them are set by changing +Vim background color. SpaceVim support to change the background color with +`g:spacevim_colorscheme_bg`: +```vim +let g:spacevim_colorscheme_bg = 'dark' +``` From 0297f509eaba40cc55ce77e6cd5b4cab09b19ad0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Ti=C3=A1?= Date: Mon, 29 May 2017 21:21:47 -0600 Subject: [PATCH 2/2] Add documentation about Atom color schemes vim-one plugin doesn't work well with SpaceVim in dark mode. See #507 for further discussion. --- docs/layers/colorscheme.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/layers/colorscheme.md b/docs/layers/colorscheme.md index 8ac6821d8..75b193b77 100644 --- a/docs/layers/colorscheme.md +++ b/docs/layers/colorscheme.md @@ -13,3 +13,10 @@ Vim background color. SpaceVim support to change the background color with ```vim let g:spacevim_colorscheme_bg = 'dark' ``` + +Among SpaceVim colorschemes supported, there are some that looks like Atom +editor color styles: dark and light. +For Atom dark color scheme use _onedark_ or _neodark_ in `g:spacevim_colorscheme`. +For Atom light color scheme use _one_. vim-one plugin offer _one_ colorscheme and it +supports dark and light styles, but dark style doesn't work well with SpaceVim. +Check [#507](https://github.com/SpaceVim/SpaceVim/issues/507) for further discussion.