Hello all,
So I’m trying to create a Monokai theme for Kakoune. Looking around at other people’s themes, I made this
# Classic Monokai Theme for Kakoune
evaluate-commands %sh{
bg="rgb:272822"
bgtwo="rgb:1D1E19"
fg="rgb:F8F8F2"
gray="rgb:767679"
gray_light="rgb:CFC0C5"
blue="rgb:268bd2"
dark_blue="rgb:727280"
cyan="rgb:66D9EF"
dark_cyan="rgb:8FA1B3"
green="rgb:A6E22E"
orange="rgb:FD971F"
magenta="rgb:F92660"
purple="rgb:9C91E4"
red="rgb:E74C3C"
yellow="rgb:E6DB74"
echo "
# Code
face global value ${purple}
face global type ${cyan}
face global variable ${white}
face global identifier ${orange}
face global module ${blue}
face global function ${green}
face global string ${yellow}
face global keyword ${magenta}
face global operator ${green}
face global attribute ${magenta}
face global comment ${gray}
face global documentation ${dark_cyan}
face global meta ${dark_blue}
face global builtin default+b
# Markup
face global title ${red}+b
face global header ${magenta}+b
face global bold default,${orange}+ba
face global italic default,${cyan}+ia
face global underline default,${blue}+ufa
face global strikethrough default+bfg
face global mono ${green}
face global block ${purple}
face global link ${cyan}+u
face global bullet ${dark_cyan}
face global list ${dark_cyan}
# Builtin faces
face global Default ${white},${black}
face global PrimarySelection ${gray},${white}+bfg
face global SecondarySelection ${gray},${white}+fg
face global PrimaryCursor ${black},${magenta}+bfg
face global SecondaryCursor ${black},${blue}+fg
face global PrimaryCursorEol ${black},${purple}+bfg
face global SecondayCursorEol ${black},${purple}+fg
face global LineNumbers ${bgtwo}
face global LineNumberCursor ${yellow}+b
face global MenuForeground ${dark_blue}
face global MenuBackground default,${bgtwo}
face global MenuInfo ${orange}+i
face global Information ${green}
face global Error ${black},${red}+fg
face global StatusLine ${dark_cyan},${bgtwo}
face global StatusLineMode ${dark_cyan}
face global StatusLineInfo ${dark_cyan}
face global StatusLineValue ${cyan}
face global StatusCursor ${black},${white+bg}
face global Prompt ${purple},${bgtwo}
face global MatchingChar default,${red}+b
face global Whitespace ${black}+f
face global BufferPadding default,${bgtwo}+f
face global WrapMarker ${bgtwo}+f
"
}
This is in $XDG_CONFIG_HOME/kak/colors/monokai.kak
, however after putting colorscheme monokai
in my kakrc, I get this error:
/home/my_user/.config/kak/colors/monokai.kak:3:1: 'evaluate-commands' 5:9: 'face' wrong argument count
~/.config/kak/ui.kak:17:1: 'colorscheme' 1:2: 'evaluate-commands' 1:1: 'source' 3:1: 'evaluate-commands' 5:9: 'face' wrong argument count
But I’m not sure where it’s having an issue?
Could I get a second pair of eyes on this?
Kakoune version: v2020.01.16-129-gc585107a