288 lines
17 KiB
VimL
288 lines
17 KiB
VimL
if exists('g:colors_name')
|
||
highlight clear
|
||
endif
|
||
|
||
let g:colors_name = 'vimbones'
|
||
set background=light
|
||
|
||
if has('nvim') && (!exists('g:' . g:colors_name . '_compat') || g:{g:colors_name}_compat == 0)
|
||
lua require("zenbones.util").apply_colorscheme()
|
||
finish
|
||
endif
|
||
|
||
let s:italics = (&t_ZH != '' && &t_ZH != '[7m') || has('gui_running') || has('nvim')
|
||
|
||
if &background ==# 'light'
|
||
" light start
|
||
" This codeblock is auto-generated by shipwright.nvim
|
||
let g:terminal_color_0 = '#F0F0CA'
|
||
let g:terminal_color_1 = '#A8334C'
|
||
let g:terminal_color_2 = '#4F6C31'
|
||
let g:terminal_color_3 = '#944927'
|
||
let g:terminal_color_4 = '#286486'
|
||
let g:terminal_color_5 = '#88507D'
|
||
let g:terminal_color_6 = '#3B8992'
|
||
let g:terminal_color_7 = '#353535'
|
||
let g:terminal_color_8 = '#C6C6A3'
|
||
let g:terminal_color_9 = '#94253E'
|
||
let g:terminal_color_10 = '#3F5A22'
|
||
let g:terminal_color_11 = '#803D1C'
|
||
let g:terminal_color_12 = '#1D5573'
|
||
let g:terminal_color_13 = '#7B3B70'
|
||
let g:terminal_color_14 = '#2B747C'
|
||
let g:terminal_color_15 = '#5C5C5C'
|
||
highlight Bold guifg=NONE guibg=NONE guisp=NONE gui=bold cterm=bold
|
||
highlight! link LightspeedUnlabeledMatch Bold
|
||
highlight BufferVisible guifg=#686868 guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight BufferVisibleIndex guifg=#686868 guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight BufferVisibleSign guifg=#686868 guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight CmpItemAbbr guifg=#505050 guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight CmpItemAbbrDeprecated guifg=#848484 guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight CmpItemAbbrMatch guifg=#353535 guibg=NONE guisp=NONE gui=bold cterm=bold
|
||
highlight CmpItemAbbrMatchFuzzy guifg=#494949 guibg=NONE guisp=NONE gui=bold cterm=bold
|
||
highlight CmpItemKind guifg=#636363 guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight CmpItemMenu guifg=#6D6D6D guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight CocMarkdownLink guifg=#3B8992 guibg=NONE guisp=NONE gui=underline cterm=underline
|
||
highlight ColorColumn guifg=NONE guibg=#E6C5BD guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link LspReferenceRead ColorColumn
|
||
highlight! link LspReferenceText ColorColumn
|
||
highlight! link LspReferenceWrite ColorColumn
|
||
highlight Comment guifg=#8C8C7C guibg=NONE guisp=NONE gui=italic cterm=italic
|
||
highlight Conceal guifg=#5C5C5C guibg=NONE guisp=NONE gui=bold,italic cterm=bold,italic
|
||
highlight! link LightspeedMaskedChar Conceal
|
||
highlight Constant guifg=#636363 guibg=NONE guisp=NONE gui=italic cterm=italic
|
||
highlight! link TroubleSource Constant
|
||
highlight! link WhichKeyValue Constant
|
||
highlight! link helpHyperTextJump Constant
|
||
highlight! link helpOption Constant
|
||
highlight Cursor guifg=#F0F0CA guibg=#353535 guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link TermCursor Cursor
|
||
highlight CursorLine guifg=NONE guibg=#E7E8C3 guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link CursorColumn CursorLine
|
||
highlight! link NeogitDiffContextHighlight CursorLine
|
||
highlight! link TelescopeSelection CursorLine
|
||
highlight CursorLineNr guifg=#353535 guibg=NONE guisp=NONE gui=bold cterm=bold
|
||
highlight Delimiter guifg=#85856F guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link markdownLinkTextDelimiter Delimiter
|
||
highlight! link LspDiagnosticsDefaultError DiagnosticError
|
||
highlight! link NeogitNotificationError DiagnosticError
|
||
highlight DiagnosticHint guifg=#88507D guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link LspDiagnosticsDefaultHint DiagnosticHint
|
||
highlight DiagnosticInfo guifg=#286486 guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link LspDiagnosticsDefaultInformation DiagnosticInfo
|
||
highlight! link NeogitNotificationInfo DiagnosticInfo
|
||
highlight! link TSNote DiagnosticInfo
|
||
highlight DiagnosticSignError guifg=#A8334C guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link CocErrorSign DiagnosticSignError
|
||
highlight! link LspDiagnosticsSignError DiagnosticSignError
|
||
highlight DiagnosticSignHint guifg=#88507D guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link CocHintSign DiagnosticSignHint
|
||
highlight! link LspDiagnosticsSignHint DiagnosticSignHint
|
||
highlight DiagnosticSignInfo guifg=#286486 guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link CocInfoSign DiagnosticSignInfo
|
||
highlight! link LspDiagnosticsSignInformation DiagnosticSignInfo
|
||
highlight DiagnosticSignWarn guifg=#944927 guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link CocWarningSign DiagnosticSignWarn
|
||
highlight! link LspDiagnosticsSignWarning DiagnosticSignWarn
|
||
highlight DiagnosticUnderlineError guifg=#A8334C guibg=NONE guisp=NONE gui=undercurl cterm=undercurl
|
||
highlight! link CocErrorHighlight DiagnosticUnderlineError
|
||
highlight! link LspDiagnosticsUnderlineError DiagnosticUnderlineError
|
||
highlight DiagnosticUnderlineHint guifg=#88507D guibg=NONE guisp=NONE gui=undercurl cterm=undercurl
|
||
highlight! link CocHintHighlight DiagnosticUnderlineHint
|
||
highlight! link LspDiagnosticsUnderlineHint DiagnosticUnderlineHint
|
||
highlight DiagnosticUnderlineInfo guifg=#286486 guibg=NONE guisp=NONE gui=undercurl cterm=undercurl
|
||
highlight! link CocInfoHighlight DiagnosticUnderlineInfo
|
||
highlight! link LspDiagnosticsUnderlineInformation DiagnosticUnderlineInfo
|
||
highlight DiagnosticUnderlineWarn guifg=#944927 guibg=NONE guisp=NONE gui=undercurl cterm=undercurl
|
||
highlight! link CocWarningHighlight DiagnosticUnderlineWarn
|
||
highlight! link LspDiagnosticsUnderlineWarning DiagnosticUnderlineWarn
|
||
highlight DiagnosticVirtualTextError guifg=#A8334C guibg=#F2DEE0 guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link CocErrorVirtualText DiagnosticVirtualTextError
|
||
highlight! link LspDiagnosticsVirtualTextError DiagnosticVirtualTextError
|
||
highlight DiagnosticVirtualTextWarn guifg=#944927 guibg=#F2DEDA guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link CocWarningVitualText DiagnosticVirtualTextWarn
|
||
highlight! link LspDiagnosticsVirtualTextWarning DiagnosticVirtualTextWarn
|
||
highlight! link LspDiagnosticsDefaultWarning DiagnosticWarn
|
||
highlight! link NeogitNotificationWarning DiagnosticWarn
|
||
highlight DiffAdd guifg=NONE guibg=#CBE5B8 guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link NeogitDiffAddHighlight DiffAdd
|
||
highlight DiffChange guifg=NONE guibg=#D4DEE7 guisp=NONE gui=NONE cterm=NONE
|
||
highlight DiffDelete guifg=NONE guibg=#EBD8DA guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link NeogitDiffDeleteHighlight DiffDelete
|
||
highlight DiffText guifg=#353535 guibg=#A9BED1 guisp=NONE gui=NONE cterm=NONE
|
||
highlight Directory guifg=NONE guibg=NONE guisp=NONE gui=bold cterm=bold
|
||
highlight Error guifg=#A8334C guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link DiagnosticError Error
|
||
highlight! link ErrorMsg Error
|
||
highlight! link TSDanger Error
|
||
highlight FloatBorder guifg=#71715E guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight FoldColumn guifg=#9A9A81 guibg=NONE guisp=NONE gui=bold cterm=bold
|
||
highlight Folded guifg=#515143 guibg=#C6C6A6 guisp=NONE gui=NONE cterm=NONE
|
||
highlight Function guifg=#353535 guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link TroubleNormal Function
|
||
highlight! link TroubleText Function
|
||
highlight GitSignsAdd guifg=#4F6C31 guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link GitGutterAdd GitSignsAdd
|
||
highlight GitSignsChange guifg=#286486 guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link GitGutterChange GitSignsChange
|
||
highlight GitSignsDelete guifg=#A8334C guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link GitGutterDelete GitSignsDelete
|
||
highlight HopNextKey2 guifg=#286486 guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight Identifier guifg=#505050 guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link TSVariable Identifier
|
||
highlight! link markdownCode Identifier
|
||
highlight IncSearch guifg=#F0F0CA guibg=#C074B2 guisp=NONE gui=bold cterm=bold
|
||
highlight IndentBlanklineChar guifg=#D0D0B6 guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight Italic guifg=NONE guibg=NONE guisp=NONE gui=italic cterm=italic
|
||
highlight LightspeedGreyWash guifg=#8C8C7C guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link HopUnmatched LightspeedGreyWash
|
||
highlight LightspeedLabel guifg=#88507D guibg=NONE guisp=NONE gui=bold,underline cterm=bold,underline
|
||
highlight! link HopNextKey LightspeedLabel
|
||
highlight LightspeedLabelDistant guifg=#3B8992 guibg=NONE guisp=NONE gui=bold,underline cterm=bold,underline
|
||
highlight! link HopNextKey1 LightspeedLabelDistant
|
||
highlight LightspeedLabelDistantOverlapped guifg=#3B8992 guibg=NONE guisp=NONE gui=underline cterm=underline
|
||
highlight LightspeedLabelOverlapped guifg=#88507D guibg=NONE guisp=NONE gui=underline cterm=underline
|
||
highlight LightspeedOneCharMatch guifg=#F0F0CA guibg=#88507D guisp=NONE gui=bold cterm=bold
|
||
highlight LightspeedPendingChangeOpArea guifg=#88507D guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight LightspeedShortcut guifg=#F0F0CA guibg=#88507D guisp=NONE gui=bold,underline cterm=bold,underline
|
||
highlight LineNr guifg=#9A9A81 guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link CocCodeLens LineNr
|
||
highlight! link LspCodeLens LineNr
|
||
highlight! link NeogitHunkHeader LineNr
|
||
highlight! link SignColumn LineNr
|
||
highlight! link WhichKeySeparator LineNr
|
||
highlight MoreMsg guifg=#4F6C31 guibg=NONE guisp=NONE gui=bold cterm=bold
|
||
highlight! link Question MoreMsg
|
||
highlight NeogitHunkHeaderHighlight guifg=#353535 guibg=#E7E8C3 guisp=NONE gui=bold cterm=bold
|
||
highlight! link NnnNormalNC NnnNormal
|
||
highlight NnnVertSplit guifg=bg guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight NonText guifg=#B0B093 guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link EndOfBuffer NonText
|
||
highlight! link Whitespace NonText
|
||
highlight Normal guifg=#353535 guibg=#F0F0CA guisp=NONE gui=NONE cterm=NONE
|
||
highlight NormalFloat guifg=NONE guibg=#DFDFBC guisp=NONE gui=NONE cterm=NONE
|
||
highlight Number guifg=#2A6535 guibg=NONE guisp=NONE gui=italic cterm=italic
|
||
highlight! link Boolean Number
|
||
highlight! link TSConstBuiltin Number
|
||
highlight! link TSConstMacro Number
|
||
highlight! link TSVariableBuiltin Number
|
||
highlight NvimTreeCursorLine guifg=NONE guibg=#D6D6B5 guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link NvimTreeCursorColumn NvimTreeCursorLine
|
||
highlight NvimTreeNormal guifg=#353535 guibg=#E7E8C3 guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link NnnNormal NvimTreeNormal
|
||
highlight NvimTreeRootFolder guifg=#286486 guibg=NONE guisp=NONE gui=bold cterm=bold
|
||
highlight NvimTreeSpecialFile guifg=#88507D guibg=NONE guisp=NONE gui=underline cterm=underline
|
||
highlight NvimTreeSymlink guifg=#286486 guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight NvimTreeVertSplit guifg=bg guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight Pmenu guifg=NONE guibg=#D6D6B5 guisp=NONE gui=NONE cterm=NONE
|
||
highlight PmenuSbar guifg=NONE guibg=#A7A78D guisp=NONE gui=NONE cterm=NONE
|
||
highlight PmenuSel guifg=NONE guibg=#BABB9D guisp=NONE gui=NONE cterm=NONE
|
||
highlight PmenuThumb guifg=NONE guibg=#F9F9D2 guisp=NONE gui=NONE cterm=NONE
|
||
highlight PreProc guifg=#35663D guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight Search guifg=#353535 guibg=#DEB9D6 guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link MatchParen Search
|
||
highlight! link Sneak Search
|
||
highlight! link LightspeedPendingOpArea SneakLabel
|
||
highlight SneakLabelMask guifg=#88507D guibg=#88507D guisp=NONE gui=NONE cterm=NONE
|
||
highlight Special guifg=#5C5C5C guibg=NONE guisp=NONE gui=bold cterm=bold
|
||
highlight! link TSNamespace Special
|
||
highlight! link TSTag Special
|
||
highlight! link WhichKeyGroup Special
|
||
highlight! link helpHyperTextEntry Special
|
||
highlight! link markdownH4 Special
|
||
highlight! link markdownH5 Special
|
||
highlight! link markdownH6 Special
|
||
highlight SpecialComment guifg=#8C8C7C guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight SpecialKey guifg=#B0B093 guibg=NONE guisp=NONE gui=italic cterm=italic
|
||
highlight SpellBad guifg=#974352 guibg=NONE guisp=NONE gui=undercurl cterm=undercurl
|
||
highlight! link CocSelectedText SpellBad
|
||
highlight SpellCap guifg=#974352 guibg=NONE guisp=NONE gui=undercurl cterm=undercurl
|
||
highlight! link SpellLocal SpellCap
|
||
highlight SpellRare guifg=#974352 guibg=NONE guisp=NONE gui=undercurl cterm=undercurl
|
||
highlight Statement guifg=#156A29 guibg=NONE guisp=NONE gui=bold cterm=bold
|
||
highlight! link WhichKey Statement
|
||
highlight! link markdownH2 Statement
|
||
highlight! link markdownH3 Statement
|
||
highlight StatusLine guifg=#353535 guibg=#CBCBAB guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link TabLine StatusLine
|
||
highlight StatusLineNC guifg=#686868 guibg=#D6D6B5 guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link TabLineFill StatusLineNC
|
||
highlight TSConstant guifg=#505050 guibg=NONE guisp=NONE gui=bold cterm=bold
|
||
highlight TabLineSel guifg=NONE guibg=NONE guisp=NONE gui=bold cterm=bold
|
||
highlight! link BufferCurrent TabLineSel
|
||
highlight TelescopeBorder guifg=#71715E guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight TelescopeMatching guifg=#88507D guibg=NONE guisp=NONE gui=bold cterm=bold
|
||
highlight TelescopeSelectionCaret guifg=#A8334C guibg=#E7E8C3 guisp=NONE gui=NONE cterm=NONE
|
||
highlight Title guifg=NONE guibg=NONE guisp=NONE gui=bold cterm=bold
|
||
highlight Todo guifg=NONE guibg=NONE guisp=NONE gui=bold,underline cterm=bold,underline
|
||
highlight Type guifg=#5B5B42 guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link helpSpecial Type
|
||
highlight Underlined guifg=NONE guibg=NONE guisp=NONE gui=underline cterm=underline
|
||
highlight VertSplit guifg=#9A9A81 guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight Visual guifg=NONE guibg=#D7D7D7 guisp=NONE gui=NONE cterm=NONE
|
||
highlight WarningMsg guifg=#944927 guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link DiagnosticWarn WarningMsg
|
||
highlight! link TSWarning WarningMsg
|
||
highlight! link gitcommitOverflow WarningMsg
|
||
highlight WildMenu guifg=#F0F0CA guibg=#88507D guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link SneakLabel WildMenu
|
||
highlight diffAdded guifg=#4F6C31 guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link NvimTreeGitNew diffAdded
|
||
highlight diffChanged guifg=#286486 guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link NvimTreeGitDirty diffChanged
|
||
highlight diffFile guifg=#944927 guibg=NONE guisp=NONE gui=bold cterm=bold
|
||
highlight diffIndexLine guifg=#944927 guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight diffLine guifg=#88507D guibg=NONE guisp=NONE gui=bold cterm=bold
|
||
highlight diffNewFile guifg=#4F6C31 guibg=NONE guisp=NONE gui=italic cterm=italic
|
||
highlight diffOldFile guifg=#A8334C guibg=NONE guisp=NONE gui=italic cterm=italic
|
||
highlight diffRemoved guifg=#A8334C guibg=NONE guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link NvimTreeGitDeleted diffRemoved
|
||
highlight lCursor guifg=#F0F0CA guibg=#595959 guisp=NONE gui=NONE cterm=NONE
|
||
highlight! link TermCursorNC lCursor
|
||
highlight markdownH1 guifg=#353535 guibg=NONE guisp=NONE gui=bold,underline cterm=bold,underline
|
||
" light end
|
||
|
||
if !s:italics
|
||
" no italics light start
|
||
" This codeblock is auto-generated by shipwright.nvim
|
||
highlight Boolean gui=NONE cterm=NONE
|
||
highlight Comment gui=NONE cterm=NONE
|
||
highlight Constant gui=NONE cterm=NONE
|
||
highlight Number gui=NONE cterm=NONE
|
||
highlight SpecialKey gui=NONE cterm=NONE
|
||
highlight TSConstBuiltin gui=NONE cterm=NONE
|
||
highlight TSConstMacro gui=NONE cterm=NONE
|
||
highlight TSVariableBuiltin gui=NONE cterm=NONE
|
||
highlight TroubleSource gui=NONE cterm=NONE
|
||
highlight WhichKeyValue gui=NONE cterm=NONE
|
||
highlight diffNewFile gui=NONE cterm=NONE
|
||
highlight diffOldFile gui=NONE cterm=NONE
|
||
highlight helpHyperTextJump gui=NONE cterm=NONE
|
||
highlight helpOption gui=NONE cterm=NONE
|
||
" no italics light end
|
||
endif
|
||
endif
|
||
|
||
if has('terminal')
|
||
highlight! link StatusLineTerm StatusLine
|
||
highlight! link StatusLineTermNC StatusLineNC
|
||
let g:terminal_ansi_colors = [
|
||
\ g:terminal_color_0,
|
||
\ g:terminal_color_1,
|
||
\ g:terminal_color_2,
|
||
\ g:terminal_color_3,
|
||
\ g:terminal_color_4,
|
||
\ g:terminal_color_5,
|
||
\ g:terminal_color_6,
|
||
\ g:terminal_color_7,
|
||
\ g:terminal_color_8,
|
||
\ g:terminal_color_9,
|
||
\ g:terminal_color_10,
|
||
\ g:terminal_color_11,
|
||
\ g:terminal_color_12,
|
||
\ g:terminal_color_13,
|
||
\ g:terminal_color_14,
|
||
\ g:terminal_color_15
|
||
\ ]
|
||
endif
|