1
0
Fork 0

kakoune themes

This commit is contained in:
Jeremy Kaplan 2018-12-24 14:39:26 -08:00
commit 43b2116713
2 changed files with 146 additions and 70 deletions

View file

@ -0,0 +1,77 @@
## Adapted from https://raw.githubusercontent.com/leira/base16-kakoune/cda1583edc4eae387c17eb37f195496aa21ace2a/colors/base16-default-light.kak
evaluate-commands %sh{
base00='rgb:f8f8f8'
base01='rgb:e8e8e8'
base02='rgb:d8d8d8'
base03='rgb:b8b8b8'
base04='rgb:585858'
base05='rgb:383838'
base06='rgb:282828'
base07='rgb:181818'
base08='rgb:ab4642' # red
base09='rgb:dc9656' # orange
base0A='rgb:f7ca88' # yellow-orange
base0B='rgb:a1b56c' # green-brown
base0C='rgb:86c1b9' # teal
base0D='rgb:7cafc2' # blue
base0E='rgb:ba8baf' # purple
base0F='rgb:a16946' # brown
## code
echo "
face global attribute ${base0C}
face global builtin ${base0D}
face global comment ${base03}
face global identifier ${base08}
face global function ${base0D}
face global keyword ${base0E}+b
face global meta ${base0D}
face global module ${base0E}
face global operator ${base05}
face global string ${base0B}
face global type ${base0A}+b
face global value ${base09}
face global variable ${base08}
"
## markup
echo "
face global block ${base0C}
face global bold ${base0A}+b
face global bullet ${base08}
face global header ${base0D}+b
face global italic ${base0E}
face global link ${base09}
face global list ${base08}
face global mono ${base0B}
face global title ${base0D}+b
"
## builtin
echo "
face global BufferPadding ${base03},${base00}
face global Default ${base05},${base00}
face global Error ${base00},${base08}
face global Information ${base00},${base0A}
face global LineNumberCursor ${base0A},${base00}
face global LineNumbers ${base02},${base00}
face global MatchingChar ${base06},${base02}+b
face global MenuBackground ${base00},${base0C}
face global MenuForeground ${base00},${base0D}
face global MenuInfo ${base02}
face global PrimaryCursor ${base00},${base05}
face global PrimaryCursorEol ${base00},${base03}+fg
face global PrimarySelection ${base06},${base0D}
face global Prompt ${base0D},${base01}
face global SecondaryCursor ${base06},${base03}
face global SecondaryCursorEol ${base06},${base02}+fg
face global SecondarySelection ${base06},${base01}
face global StatusCursor ${base00},${base05}
face global StatusLine ${base04},${base01}
face global StatusLineInfo ${base0D}
face global StatusLineMode ${base0B}
face global StatusLineValue ${base0C}
face global Whitespace ${base0F}+f
"
}

View file

@ -1,76 +1,75 @@
evaluate-commands %sh{ evaluate-commands %sh{
foreground="black" base00='rgb:f8f8f8'
fg_01="rgb:262626" base01='rgb:e8e8e8'
fg_02="rgb:3A3A3A" base02='rgb:d8d8d8'
fg_03="rgb:444444" base03='rgb:b8b8b8'
fg_04="rgb:585858" base04='rgb:585858'
fg_05="rgb:6C6C6C" base05='rgb:383838'
base06='rgb:282828'
bg_05="rgb:808080" base07='rgb:181818'
bg_04="rgb:8A8A8A" base08='rgb:7cafc2' # blue
bg_03="rgb:AFAFAF" base09='rgb:ba8baf' # purple
bg_02="rgb:E4E4E4" base0A='rgb:f7ba5d' # yellow-orange
bg_01="rgb:EEEEEE" base0B='rgb:d88c47' # orange
background="white" base0C='rgb:8c5432' # brown
base0D='rgb:5189a0' # teal
literal="rgb:FF8700" base0E='rgb:9bb556' # green-brown
matching_char="rgb:FF875F+b" base0F='rgb:bc150f' # red
string="rgb:A78000"
type="rgb:D70000"
keyword="rgb:119300"
variable="rgb:007D93"
meta="rgb:AF87FF"
## code
echo " echo "
# For Code face global attribute ${base0C}
face global value ${literal} face global builtin ${base0D}
face global type ${type} face global comment ${base03}
face global variable ${variable} face global identifier ${base08}
face global module ${keyword} face global function ${base0D}
face global function ${variable} face global keyword ${base0E}+b
face global string ${string} face global meta ${base0D}
face global keyword ${keyword} face global module ${base0E}
face global operator ${keyword} face global operator ${base05}
face global attribute ${variable} face global string ${base0B}
face global comment ${bg_05} face global type ${base0A}+b
face global meta ${keyword} face global value ${base09}
face global builtin ${foreground} face global variable ${base08}
"
# For markup ## markup
face global title +u echo "
# face global header default face global block ${base0C}
face global bold +b face global bold ${base0A}+b
face global italic +i face global bullet ${base08}
# face global mono default face global header ${base0D}+b
# face global block default face global italic ${base0E}
# face global link default face global link ${base09}
# face global bullet default face global list ${base08}
# face global list default face global mono ${base0B}
face global title ${base0D}+b
"
# builtin faces ## builtin
face global Default ${fg_01},${bg_01} echo "
face global PrimaryCursor ${background},${foreground} face global BufferPadding ${base03},${base00}
face global PrimarySelection ${background},${fg_05} face global Default ${base05},${base00}
face global SecondaryCursor ${foreground},${bg_04} face global Error ${base00},${base08}
face global SecondarySelection ${foreground},${bg_02} face global Information ${base00},${base0A}
face global PrimaryCursorEol ${background},${foreground} face global LineNumberCursor ${base0A},${base00}
face global SecondaryCursorEol ${background},${bg_04} face global LineNumbers ${base02},${base00}
face global LineNumbers ${fg_04},default face global MatchingChar ${base06},${base02}+b
face global LineNumberCursor ${fg_04},default face global MenuBackground ${base00},${base0C}
face global LineNumbersWrapped ${bg_01},${bg_01} face global MenuForeground ${base00},${base0D}
face global MenuForeground white,blue face global MenuInfo ${base02}
face global MenuBackground blue,white face global PrimaryCursor ${base00},${base05}
face global MenuInfo cyan face global PrimaryCursorEol ${base00},${base03}+fg
face global Information black,yellow face global PrimarySelection ${base06},${base0D}
face global Error black,red face global Prompt ${base0D},${base01}
face global StatusLine ${fg_01},${bg_03} face global SecondaryCursor ${base06},${base03}
face global StatusLineMode ${fg_01},${bg_03} face global SecondaryCursorEol ${base06},${base02}+fg
face global StatusLineInfo ${fg_01},${bg_03} face global SecondarySelection ${base06},${base01}
face global StatusLineValue ${fg_01},${bg_03} face global StatusCursor ${base00},${base05}
face global StatusLine ${base04},${base01}
# face global StatusCursor black,cyan face global StatusLineInfo ${base0D}
# face global Prompt yellow,default face global StatusLineMode ${base0B}
face global MatchingChar ${matching_char} face global StatusLineValue ${base0C}
face global BufferPadding ${fg_05},${bg_02} face global Whitespace ${base0F}+f
" "
} }