diff --git a/colors/quickui/default.vim b/colors/quickui/default.vim new file mode 100644 index 0000000..9ab8612 --- /dev/null +++ b/colors/quickui/default.vim @@ -0,0 +1,19 @@ + +hi! QuickDefaultBackground ctermfg=0 ctermbg=7 guifg=black guibg=#c0c0c0 +hi! QuickDefaultSel cterm=bold ctermfg=0 ctermbg=2 gui=bold guibg=brown guifg=#c0c0c0 +hi! QuickDefaultKey term=bold ctermfg=1 gui=bold guifg=#f92772 +hi! QuickDefaultDisable ctermfg=6 guifg=#75715e +hi! QuickDefaultHelp ctermfg=6 guifg=#959173 +hi! QuickDefaultBorder ctermfg=0 ctermbg=7 guifg=black guibg=#c0c0c0 +hi! QuickDefaultTermBorder ctermfg=0 ctermbg=7 guifg=black guibg=#c0c0c0 + +if &background == 'dark' + hi! QuickDefaultPreview ctermbg=7 guibg=#4c4846 +else + hi! QuickDefaultPreview ctermbg=4 guibg=#dddddd +endif + +hi! QuickDefaultInput ctermfg=7 ctermbg=4 guifg=#e4e4e4 guibg=#0000a0 +hi! QuickDefaultCursor ctermfg=4 ctermbg=7 guifg=#0000a0 guibg=#e4e4e4 +hi! QuickDefaultVisual ctermfg=4 ctermbg=6 guifg=#0000a0 guibg=#f4f4f4 + diff --git a/plugin/quickui.vim b/plugin/quickui.vim index 4dfa8d1..7c1e1f5 100644 --- a/plugin/quickui.vim +++ b/plugin/quickui.vim @@ -3,7 +3,7 @@ " quickui.vim - " " Created by skywind on 2019/12/26 -" Last Modified: 2019/12/26 18:20:52 +" Last Modified: 2021/12/08 23:01 " "====================================================================== @@ -47,10 +47,12 @@ function! s:set_quickui_hi() endfunc function! QuickThemeChange(theme) - let theme = 'borland' - if a:theme == 'default' - let theme = 'borland' - elseif a:theme == '' || a:theme == 'borland' || a:theme == 'turboc' + let theme = 'default' + if a:theme == '' + let theme = 'default' + elseif a:theme == 'default' || a:theme == 'ansi' + let theme = 'default' + elseif a:theme == 'borland' || a:theme == 'turboc' let theme = 'borland' elseif a:theme == 'colorscheme' || a:theme == 'system' || a:theme == 'vim' let theme = 'system' @@ -86,3 +88,5 @@ augroup quickui "{{{ augroup END "}}} call s:set_quickui_hi() + +