One.kak - One Light and One Dark colorschemes for Kakoune

I just want to say thank you for this well-thought out colorscheme! It’s not just a copy of a good theme, the effort you put into making the details right shows! I love the alpha-blended highlighting and how you maintain a good amount of contrast with the shifts in selection and cursor color while keeping different states easily distinguished.

For anyone who’s interested, I took the time to setup Andreyorst’s powerline to match in my kakrc:

plug "andreyorst/powerline.kak" defer powerline %{
  powerline-format global 'git bufname line_column mode_info position'} defer powerline_one_dark %{
  powerline-theme one-dark
} config %{
  powerline-start
}

colorscheme "one-dark"

provide-module powerline_one_dark %{
  set-option -add global powerline_themes "one-dark"
  define-command -hidden powerline-theme-one-dark %{
    declare-option -hidden str powerline_color03 "rgb:373c47" # bg: bufname
    declare-option -hidden str powerline_color00 "rgb:abb2bf" # fg: bufname
    declare-option -hidden str powerline_color04 "rgb:abb2bf" # bg: git
    declare-option -hidden str powerline_color02 "rgb:373c47" # fg: git
    declare-option -hidden str powerline_color01 "rgb:abb2bf" # bg: position
    declare-option -hidden str powerline_color05 "rgb:373c47" # fg: position
    declare-option -hidden str powerline_color09 "rgb:abb2bf" # bg: line-column, lsp
    declare-option -hidden str powerline_color06 "rgb:373c47" # fg: line-column, lsp
    declare-option -hidden str powerline_color07 "rgb:373c47" # fg: mode-info
    declare-option -hidden str powerline_color08 "rgb:373c47" # base background
    declare-option -hidden str powerline_next_bg %opt{powerline_color08}
    declare-option -hidden str powerline_base_bg %opt{powerline_color08}
  }
}

3 Likes