Refactor themes

This commit is contained in:
sfigato 2021-06-15 16:41:16 +02:00
parent 43b557c76b
commit 68ce86d1ed
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F
3 changed files with 21 additions and 11 deletions

View File

@ -5,6 +5,9 @@ if exists('+termguicolors')
set termguicolors
endif
source themes/melange.vim
" source themes/miramare.vim
function! LightOrDarkness()
if &background==?"dark"
set background=light
@ -12,7 +15,7 @@ function! LightOrDarkness()
hi Search guibg=Green
elseif &background==?"light"
set background=dark
colorscheme miramare
colorscheme g:colorscheme
hi Search guibg=Purple
endif
endfunction
@ -20,16 +23,6 @@ endfunction
" Needed for kitty not to f*ck up the background color
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
"set virtualedit=all

View File

@ -0,0 +1,4 @@
" Melange configuration
colorscheme melange
let g:colorscheme = melange

View 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