Refactor themes
This commit is contained in:
parent
43b557c76b
commit
68ce86d1ed
|
@ -5,6 +5,9 @@ if exists('+termguicolors')
|
||||||
set termguicolors
|
set termguicolors
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
source themes/melange.vim
|
||||||
|
" source themes/miramare.vim
|
||||||
|
|
||||||
function! LightOrDarkness()
|
function! LightOrDarkness()
|
||||||
if &background==?"dark"
|
if &background==?"dark"
|
||||||
set background=light
|
set background=light
|
||||||
|
@ -12,7 +15,7 @@ function! LightOrDarkness()
|
||||||
hi Search guibg=Green
|
hi Search guibg=Green
|
||||||
elseif &background==?"light"
|
elseif &background==?"light"
|
||||||
set background=dark
|
set background=dark
|
||||||
colorscheme miramare
|
colorscheme g:colorscheme
|
||||||
hi Search guibg=Purple
|
hi Search guibg=Purple
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
@ -20,16 +23,6 @@ endfunction
|
||||||
" Needed for kitty not to f*ck up the background color
|
" Needed for kitty not to f*ck up the background color
|
||||||
let &t_ut=''
|
let &t_ut=''
|
||||||
|
|
||||||
set background=dark
|
|
||||||
let g:miramare_enable_italic = 0
|
|
||||||
let g:miramare_disable_italic_comment = 1
|
|
||||||
let g:miramare_transparent_background = 0
|
|
||||||
colorscheme miramare
|
|
||||||
"let g:airline_theme='hybrid'
|
|
||||||
set number
|
|
||||||
let g:enable_bold_font = 1
|
|
||||||
let g:enable_italic_font = 1
|
|
||||||
set laststatus=2
|
|
||||||
|
|
||||||
" virtualedit
|
" virtualedit
|
||||||
"set virtualedit=all
|
"set virtualedit=all
|
||||||
|
|
4
config/themes/melange.vim
Normal file
4
config/themes/melange.vim
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
" Melange configuration
|
||||||
|
|
||||||
|
colorscheme melange
|
||||||
|
let g:colorscheme = melange
|
13
config/themes/miramare.vim
Normal file
13
config/themes/miramare.vim
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
" Miramare config
|
||||||
|
|
||||||
|
set background=dark
|
||||||
|
let g:miramare_enable_italic = 0
|
||||||
|
let g:miramare_disable_italic_comment = 1
|
||||||
|
let g:miramare_transparent_background = 0
|
||||||
|
colorscheme miramare
|
||||||
|
"let g:airline_theme='hybrid'
|
||||||
|
set number
|
||||||
|
let g:enable_bold_font = 1
|
||||||
|
let g:enable_italic_font = 1
|
||||||
|
set laststatus=2
|
||||||
|
let g:colorscheme = miramare
|
Loading…
Reference in New Issue
Block a user