kakoune

Fork of kakoune, an acceptable text editor
git clone git://git.laack.co/kakoune.git
Log | Files | Refs

greyscale.kak (2891B)


      1 # Greyscale: monochromatic grey-based light colorscheme
      2 
      3 evaluate-commands %sh{
      4     grey_light_5="rgb:fafafa"
      5     grey_light_4="rgb:f5f5f5"
      6     grey_light_3="rgb:eeeeee"
      7     grey_light_2="rgb:e0e0e0"
      8     grey_light_1="rgb:bdbdbd"
      9     grey="rgb:9e9e9e"
     10     grey_dark_1="rgb:757575"
     11     grey_dark_2="rgb:616161"
     12     grey_dark_3="rgb:424242"
     13     grey_dark_4="rgb:212121"
     14 
     15     cat <<EOF
     16 
     17     # For Code
     18     set-face global keyword ${grey_dark_2}
     19     set-face global attribute ${grey_dark_2}
     20     set-face global type ${grey_dark_2}
     21     set-face global string ${grey_dark_1}
     22     set-face global value ${grey_dark_1}+b
     23     set-face global meta ${grey_dark_1}
     24     set-face global builtin ${grey}+b
     25     set-face global module ${grey_dark_1}
     26     set-face global comment ${grey}+i
     27     set-face global documentation comment
     28     set-face global function Default
     29     set-face global operator Default
     30     set-face global variable Default
     31 
     32     # For markup
     33     set-face global title ${grey_dark_2}+b
     34     set-face global header ${grey_dark_2}
     35     set-face global block ${grey_dark_1}
     36     set-face global mono ${grey_dark_1}
     37     set-face global link ${grey}+u
     38     set-face global list Default
     39     set-face global bullet +b
     40 
     41     # Built-in faces
     42     set-face global Default ${grey},${grey_light_2}
     43     set-face global PrimarySelection ${grey_light_3},${grey_dark_4}+fg
     44     set-face global SecondarySelection ${grey_light_2},${grey_dark_3}+fg
     45     set-face global PrimaryCursor ${grey_light_3},${grey_dark_1}+fg
     46     set-face global SecondaryCursor ${grey_light_3},${grey}+fg
     47     set-face global PrimaryCursorEol ${grey_light_1},${grey_dark_2}+fg
     48     set-face global SecondaryCursorEol ${grey_light_2},${grey_dark_1}+fg
     49 
     50     set-face global StatusLine ${grey_dark_3},${grey_light_1}
     51     set-face global StatusLineMode ${grey_light_2},${grey_dark_3}
     52     set-face global StatusLineInfo ${grey_light_2},${grey_dark_2}
     53     set-face global StatusLineValue ${grey_light_3},${grey_dark_2}+b
     54     set-face global StatusCursor ${grey_light_3},${grey}
     55     set-face global Prompt ${grey_light_2},${grey_dark_3}
     56     set-face global MenuForeground ${grey_light_4},${grey}
     57     set-face global MenuBackground ${grey_dark_2},${grey_light_3}
     58     set-face global MenuInfo ${grey}+i
     59 
     60     set-face global LineNumbers ${grey_light_5},${grey_dark_1}
     61     set-face global LineNumbersWrapped ${grey_light_2},${grey_dark_2}+i
     62     set-face global LineNumberCursor ${grey_light_2},${grey_dark_3}+b
     63     set-face global MatchingChar ${grey_dark_4},${grey_light_1}
     64     set-face global Whitespace ${grey_light_1}+f
     65     set-face global WrapMarker ${grey_light_1}+f
     66 
     67     set-face global Information ${grey_light_2},${grey_dark_2}
     68     set-face global Error ${grey_light_2},${grey_dark_3}
     69     set-face global DiagnosticError ${grey_dark_3}
     70     set-face global DiagnosticWarning ${grey_dark_2}
     71     set-face global BufferPadding ${grey_light_1}
     72 
     73 EOF
     74 }