mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 02:20:03 +08:00
1.6 KiB
1.6 KiB
title | description |
---|---|
SpaceVim colorscheme layer | colorscheme provides a list of colorscheme for SpaceVim, default colorscheme is gruvbox with dark theme. |
Available Layers >> colorschemes
Description
This layer provides many Vim colorschemes for SpaceVim, the default colorscheme is gruvbox.
Install
This layer is disabled by default in SpaceVim.
To use this configuration layer, add this snippet to your custom configuration file.
[[layers]]
name = "colorscheme"
Configuration
To change the colorscheme:
[options]
colorscheme = "onedark"
List colorschemes
Name | dark | light | term | gui | statusline |
---|---|---|---|---|---|
gruvbox | yes | yes | yes | yes | yes |
one | yes | yes | yes | yes | yes |
molokai | yes | no | yes | yes | yes |
jellybeans | yes | no | yes | yes | yes |
nord | yes | no | yes | yes | yes |
onedark | yes | no | yes | yes | yes |
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
colorscheme_bg
:
[options]
colorscheme = "onedark"
colorscheme_bg = "dark"
colorscheme layer support random colorscheme on startup. just load this layer with layer option random-theme
[[layers]]
name = "colorscheme"
random-theme = true