kakoune/colors/gruvbox-dark.kak
Tim Allen dc07c649de Add standard DiagnosticError and DiagnosticWarning faces.
kak-lsp uses these faces to mark errors inside the buffer, instead of the Error
face which is much more jarring, and which does not have an associated warning
face. Since the :spell command marks errors inside the buffer, it's also updated
to use this new face.

Adding these faces to Kakoune makes it more likely that colorschemes will
automatically do the right thing when used with kak-lsp, and makes it possible
to use a subtle appearance (like curly underlines) for in-buffer errors while
keeping Kakoune errors bold and jarring as they should be.
2021-09-07 17:46:50 +10:00

80 lines
2.7 KiB
Plaintext

# gruvbox-dark theme
evaluate-commands %sh{
gray="rgb:928374"
red="rgb:fb4934"
green="rgb:b8bb26"
yellow="rgb:fabd2f"
blue="rgb:83a598"
purple="rgb:d3869b"
aqua="rgb:8ec07c"
orange="rgb:fe8019"
bg="rgb:282828"
bg_alpha="rgba:282828a0"
bg1="rgb:3c3836"
bg2="rgb:504945"
bg3="rgb:665c54"
bg4="rgb:7c6f64"
fg="rgb:ebdbb2"
fg_alpha="rgba:ebdbb2a0"
fg0="rgb:fbf1c7"
fg2="rgb:d5c4a1"
fg3="rgb:bdae93"
fg4="rgb:a89984"
echo "
# Code highlighting
face global value ${purple}
face global type ${yellow}
face global variable ${blue}
face global module ${green}
face global function ${fg}
face global string ${green}
face global keyword ${red}
face global operator ${fg}
face global attribute ${orange}
face global comment ${gray}+i
face global documentation comment
face global meta ${aqua}
face global builtin ${fg}+b
# Markdown highlighting
face global title ${green}+b
face global header ${orange}
face global mono ${fg4}
face global block ${aqua}
face global link ${blue}+u
face global bullet ${yellow}
face global list ${fg}
face global Default ${fg},${bg}
face global PrimarySelection ${fg_alpha},${blue}+g
face global SecondarySelection ${bg_alpha},${blue}+g
face global PrimaryCursor ${bg},${fg}+fg
face global SecondaryCursor ${bg},${bg4}+fg
face global PrimaryCursorEol ${bg},${fg4}+fg
face global SecondaryCursorEol ${bg},${bg2}+fg
face global LineNumbers ${bg4}
face global LineNumberCursor ${yellow},${bg1}
face global LineNumbersWrapped ${bg1}
face global MenuForeground ${bg2},${blue}
face global MenuBackground ${fg},${bg2}
face global MenuInfo ${bg}
face global Information ${bg},${fg}
face global Error ${bg},${red}
face global DiagnosticError ${red}
face global DiagnosticWarning ${yellow}
face global StatusLine ${fg},${bg}
face global StatusLineMode ${yellow}+b
face global StatusLineInfo ${purple}
face global StatusLineValue ${red}
face global StatusCursor ${bg},${fg}
face global Prompt ${yellow}
face global MatchingChar ${fg},${bg3}+b
face global BufferPadding ${bg2},${bg}
face global Whitespace ${bg2}+f
"
}