# vim: ft=colortemplate fdm=marker # Information {{{ Full name: Solarized 8 Short name: solarized8 Author: Ethan Schoonover Maintainer: Lifepillar Website: https://github.com/lifepillar/vim-solarized8 Description: Precision colors for machines and people Option Prefix: solarized License: OSI approved MIT license Neovim: yes # }}} # Documentation {{{ Include: _help.colortemplate # }}} #let s:italics = s:italics && get(g:, '@optionprefix_italics', 1) #let s:termtrans = get(g:, '@optionprefix_termtrans', 0) && !has('gui_running') # Common linked groups {{{ Boolean -> Constant Character -> Constant Conditional -> Statement Debug -> Special Define -> PreProc Delimiter -> Special Exception -> Statement Float -> Constant Function -> Identifier Include -> PreProc Keyword -> Statement Label -> Statement Macro -> PreProc Number -> Constant Operator -> Statement PreCondit -> PreProc QuickFixLine -> Search Repeat -> Statement SpecialChar -> Special SpecialComment -> Special StatusLineTerm -> StatusLine StatusLineTermNC -> StatusLineNC StorageClass -> Type String -> Constant Structure -> Type Tag -> Special Typedef -> Type lCursor -> Cursor # }}} Variant: gui 256 16 Background: dark # Dark color palette {{{ # Color name GUI Base256 Base16 Color: base02 #073642 236 0 Color: red #dc322f 160 1 Color: green #859900 106 2 #Color:green #719e07 ~ 2 Color: yellow #b58900 136 3 Color: blue #268bd2 32 4 Color: magenta #d33682 162 5 Color: cyan #2aa198 37 6 Color: base2 #eee8d5 254 7 Color: base03 #002b36 235 8 Color: back #002b36 235 8 Color: orange #cb4b16 166 9 Color: base01 #586e75 242 10 Color: base00 #657b83 66 11 Color: base0 #839496 246 12 Color: violet #6c71c4 61 13 Color: base1 #93a1a1 247 14 Color: base3 #fdf6e3 230 15 Include: _dark_terminal.colortemplate # }}} # Fix 256-color palette in supported terminals (dark) {{{ Include: _fix-256-palette.colortemplate # }}} # Default highlight groups (dark) {{{ # Transparency (dark) {{{ #if s:termtrans Normal base1 none CursorLine none none underline s=base1 FoldColumn fg none Folded fg none bold s=base03 Terminal fg none ToolbarButton base1 none bold ToolbarLine none none #else " opaque Normal base1 back CursorLine none base02 FoldColumn base0 base02 Folded base0 base02 bold s=base03 Terminal fg back ToolbarButton base1 base02 bold ToolbarLine none base02 #endif # }}} # Visibility (dark) {{{ #if get(g:, '@optionprefix_visibility', '') ==# 'high' CursorLineNr orange base02 bold LineNr base0 base02 NonText orange none bold SpecialKey orange none reverse SpellBad violet base3 t=underline,reverse g=undercurl,reverse s=red SpellCap violet base3 t=underline,reverse g=undercurl,reverse s=red SpellLocal yellow base3 t=underline,reverse g=undercurl,reverse s=red SpellRare cyan base3 t=underline,reverse g=undercurl,reverse s=red Title yellow none bold #elseif get(g:, '@optionprefix_visibility', '') ==# 'low' CursorLineNr base01 base02 bold LineNr base01 base02 NonText base02 none bold SpecialKey base02 none reverse SpellBad violet none t=underline g=undercurl s=violet SpellCap violet none t=underline g=undercurl s=violet SpellLocal yellow none t=underline g=undercurl s=yellow SpellRare cyan none t=underline g=undercurl s=cyan Title base01 none bold #else " normal visibility CursorLineNr base0 base02 bold LineNr base00 base02 NonText base00 none bold SpecialKey base00 base02 bold SpellBad violet none t=underline g=undercurl s=violet SpellCap violet none t=underline g=undercurl s=violet SpellLocal yellow none t=underline g=undercurl s=yellow SpellRare cyan none t=underline g=undercurl s=cyan Title yellow none bold #endif # }}} # [Cursor]LineNr transparency (dark) {{{ Variant: gui verbatim if s:termtrans hi CursorLineNr guibg=NONE hi LineNr guibg=NONE endif endverbatim Variant: 256 16 verbatim if s:termtrans hi CursorLineNr ctermbg=NONE hi LineNr ctermbg=NONE endif endverbatim Variant: gui 256 16 # }}} # Cursor style (dark) {{{ #if get(g:, '@optionprefix_old_cursor_style', 0) Cursor base03 base0 #else Cursor base3 blue #endif # }}} # Diff mode (dark) {{{ #if get(g:, '@optionprefix_diffmode', '') ==# 'high' DiffAdd green none reverse DiffChange yellow none reverse DiffDelete red none reverse DiffText blue none reverse #elseif get(g:, '@optionprefix_diffmode', '') ==# 'low' DiffAdd green none s=green DiffChange yellow none s=yellow DiffDelete red none bold DiffText blue none s=blue #else " normal diffmode DiffAdd green base02 s=green DiffChange yellow base02 s=yellow DiffDelete red base02 bold DiffText blue base02 s=blue #endif # }}} # Structural elements (dark) {{{ #if get(g:, '@optionprefix_statusline', '') ==# 'low' StatusLine base01 base2 reverse StatusLineNC base01 base02 reverse TabLine base01 base02 reverse TabLineFill base01 base02 reverse TabLineSel base0 base3 reverse VertSplit base02 base01 #elseif get(g:, '@optionprefix_statusline', '') ==# 'flat' StatusLine base02 base2 reverse StatusLineNC base02 base1 reverse TabLineSel base2 base02 TabLine base01 base02 TabLineFill base01 base02 VertSplit base01 base02 #else StatusLine base0 base02 reverse StatusLineNC base01 base02 reverse TabLine base01 base02 reverse TabLineFill base01 base02 reverse TabLineSel base0 base02 reverse VertSplit base02 base01 #endif # }}} # Base groups (dark) {{{ ColorColumn none base02 Conceal blue none CursorColumn none base02 Directory blue none EndOfBuffer none none ErrorMsg red base3 reverse IncSearch orange none standout MatchParen base3 base02 bold ModeMsg blue none MoreMsg blue none Pmenu base1 base02 PmenuSbar none base01 PmenuSel base2 base00 PmenuThumb none base0 Question cyan none bold Search yellow none reverse SignColumn base0 none Visual base01 base03 reverse VisualNOS none base02 reverse WarningMsg orange none bold WildMenu base2 base02 reverse # }}} # Other conventional groups (dark) {{{ Comment base01 none italic Constant cyan none CursorIM none fg Error red base3 bold,reverse Identifier blue none Ignore none none PreProc orange none Special orange none Statement green none Todo magenta none bold Type yellow none Underlined violet none # }}} # }}} # Additional highlight groups (dark) {{{ NormalMode base0 base3 reverse InsertMode cyan base3 reverse ReplaceMode orange base3 reverse VisualMode magenta base3 reverse CommandMode magenta base3 reverse # }}} # Neovim (dark) {{{ TermCursor -> Cursor TermCursorNC base03 base01 # }}} # Extra stuff (dark) {{{ Include: _extra.colortemplate # }}} #unlet s:termtrans Background: light # Light color palette {{{ # Color name GUI Base256 Base16 Color: base2 #073642 236 0 Color: red #dc322f 160 1 Color: green #859900 106 2 #Color:green #719e07 ~ 2 Color: yellow #b58900 136 3 Color: blue #268bd2 32 4 Color: magenta #d33682 162 5 Color: cyan #2aa198 37 6 Color: base02 #eee8d5 254 7 Color: base3 #002b36 235 8 Color: orange #cb4b16 166 9 Color: base1 #586e75 242 10 Color: base0 #657b83 66 11 Color: base00 #839496 246 12 Color: violet #6c71c4 61 13 Color: base01 #93a1a1 247 14 Color: base03 #fdf6e3 230 15 Color: back #fdf6e3 230 15 Include: _light_terminal.colortemplate # }}} # Default highlight groups (dark) {{{ # Transparency (light) {{{ #if s:termtrans Normal base1 none CursorLine none none underline s=base1 FoldColumn base0 none Folded base0 none bold s=base03 Terminal fg none ToolbarButton base1 none bold ToolbarLine none none #else " opaque Normal base1 back CursorLine none base02 FoldColumn base0 base02 Folded base0 base02 bold s=base03 Terminal fg back ToolbarButton base1 base02 bold ToolbarLine none base02 #endif # }}} # Visibility and cursor style (light) {{{ #if get(g:, '@optionprefix_visibility', '') ==# 'high' #if get(g:, '@optionprefix_old_cursor_style', 0) Cursor base03 base0 #else Cursor base03 red #endif CursorLineNr red base02 bold LineNr base0 base02 MatchParen base03 base00 bold NonText red none bold SpecialKey red none reverse SpellBad magenta base03 t=underline,reverse g=undercurl,reverse s=violet SpellCap magenta base03 t=underline,reverse g=undercurl,reverse s=violet SpellLocal yellow base03 t=underline,reverse g=undercurl,reverse s=orange SpellRare cyan base03 t=underline,reverse g=undercurl,reverse s=orange Title orange none bold #elseif get(g:, '@optionprefix_visibility', '') ==# 'low' #if get(g:, '@optionprefix_old_cursor_style', 0) Cursor base03 base0 #else Cursor base03 orange #endif CursorLineNr base01 base02 bold LineNr base01 base02 MatchParen red base02 bold,underline NonText base02 none bold SpecialKey base02 none bold SpellBad magenta none t=underline g=undercurl s=violet SpellCap magenta none t=underline g=undercurl s=violet SpellLocal yellow none t=underline g=undercurl s=yellow SpellRare cyan none t=underline g=undercurl s=cyan Title base01 none bold #else " Normal visibility #if get(g:, 'solarized_old_cursor_style', 0) Cursor base03 base0 #else Cursor base03 orange #endif CursorLineNr base0 base02 bold LineNr base00 base02 MatchParen red base02 bold,underline NonText base00 none bold SpecialKey base00 base02 bold SpellBad magenta none t=underline g=undercurl s=violet SpellCap magenta none t=underline g=undercurl s=violet SpellLocal yellow none t=underline g=undercurl s=yellow SpellRare cyan none t=underline g=undercurl s=cyan Title orange none bold #endif # }}} # [Cursor]LineNr transparency (light) {{{ Variant: gui verbatim if s:termtrans hi CursorLineNr guibg=NONE hi LineNr guibg=NONE endif endverbatim Variant: 256 16 verbatim if s:termtrans hi CursorLineNr ctermbg=NONE hi LineNr ctermbg=NONE endif endverbatim Variant: gui 256 16 # }}} # Diff mode (light) {{{ #if get(g:, '@optionprefix_diffmode', '') ==# 'high' DiffAdd green none reverse DiffChange yellow none reverse DiffDelete red none reverse DiffText blue none reverse #elseif get(g:, '@optionprefix_diffmode', '') ==# 'low' DiffAdd green none s=green DiffChange yellow none s=yellow DiffDelete red none bold DiffText blue none s=blue #else DiffAdd green base02 s=green DiffChange yellow base02 s=yellow DiffDelete red base02 bold DiffText blue base02 s=blue #endif # }}} # Structural elements (light) {{{ #if get(g:, '@optionprefix_statusline', '') ==# 'low' StatusLine base01 base03 reverse StatusLineNC base01 base1 reverse TabLine base01 base1 reverse TabLineFill base01 base1 reverse TabLineSel base1 base03 reverse VertSplit base1 base01 WildMenu base1 base03 reverse #elseif get(g:, '@optionprefix_statusline', '') ==# 'flat' StatusLine base02 base2 reverse StatusLineNC base02 base1 reverse TabLineSel base2 base02 TabLine base01 base02 TabLineFill base01 base02 VertSplit base01 base02 WildMenu base00 base03 reverse #else StatusLine base1 base02 reverse StatusLineNC base00 base02 reverse TabLine base00 base02 reverse TabLineFill base00 base02 reverse TabLineSel base1 base02 reverse VertSplit base1 base01 WildMenu base2 base02 reverse #endif # }}} # Base groups (light) {{{ ColorColumn none base02 Conceal blue none CursorColumn none base02 Directory blue none EndOfBuffer none none ErrorMsg red base03 reverse IncSearch orange none standout ModeMsg blue none MoreMsg blue none Pmenu base1 base02 PmenuSbar none base01 PmenuSel base02 base00 PmenuThumb none base0 Question cyan none bold Search yellow none reverse SignColumn base0 none Visual base01 base03 reverse VisualNOS none base02 reverse WarningMsg orange none bold # }}} # Other conventional groups (light) {{{ Comment base01 none italic Constant cyan none CursorIM none fg Error red base03 bold,reverse Identifier blue none Ignore none none PreProc orange none Special orange none Statement green none Todo magenta none bold Type yellow none Underlined violet none # }}} # }}} # Additional highlight groups (light) {{{ NormalMode base1 base03 reverse InsertMode cyan base03 reverse ReplaceMode orange base03 reverse VisualMode magenta base03 reverse CommandMode magenta base03 reverse # }}} # Neovim (light) {{{ TermCursor -> Cursor TermCursorNC base03 base01 # }}} # Extra stuff (light) {{{ Include: _extra.colortemplate # }}} #unlet s:termtrans Background: any # B&W variant {{{ Include: _bw.colortemplate # }}} #unlet s:termtrans