mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 11:00:05 +08:00
Add one colorscheme palette for light background (#3999)
Co-authored-by: Matteo Pergolesi <matpergo@gmail.com>
This commit is contained in:
parent
1db882524c
commit
412892a4b0
@ -7,6 +7,7 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
|
|
||||||
function! SpaceVim#mapping#guide#theme#one#palette() abort
|
function! SpaceVim#mapping#guide#theme#one#palette() abort
|
||||||
|
if &background ==# 'dark'
|
||||||
return [
|
return [
|
||||||
\ ['#2c323c', '#98c379', 114, 16],
|
\ ['#2c323c', '#98c379', 114, 16],
|
||||||
\ ['#abb2bf', '#3b4048', 16, 145],
|
\ ['#abb2bf', '#3b4048', 16, 145],
|
||||||
@ -18,4 +19,17 @@ function! SpaceVim#mapping#guide#theme#one#palette() abort
|
|||||||
\ ['#2c323c', '#689d6a', 114, 72],
|
\ ['#2c323c', '#689d6a', 114, 72],
|
||||||
\ ['#2c323c', '#8f3f71', 114, 132],
|
\ ['#2c323c', '#8f3f71', 114, 132],
|
||||||
\ ]
|
\ ]
|
||||||
|
else
|
||||||
|
return [
|
||||||
|
\ ['#fafafa', '#50a14f', 71, 255],
|
||||||
|
\ ['#494b53', '#d3d3d3', 251, 23],
|
||||||
|
\ ['#494b53', '#d3d3d3', 251, 23],
|
||||||
|
\ ['#f0f0f0', 254],
|
||||||
|
\ ['#fafafa', '#0184bc', 255, 31],
|
||||||
|
\ ['#fafafa', '#a626a4', 255, 127],
|
||||||
|
\ ['#fafafa', '#a626a4', 255, 127],
|
||||||
|
\ ['#fafafa', '#4078f2', 255, 33],
|
||||||
|
\ ['#fafafa', '#e45649', 255, 166],
|
||||||
|
\ ]
|
||||||
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
Loading…
Reference in New Issue
Block a user