# COLORS declare-option str fg "c0caf5" declare-option str bg "1a1b26" declare-option str subbg "1f2335" declare-option str red "f7768e" declare-option str green "9ece6a" declare-option str yellow "e0af68" declare-option str orange "ff9e64" declare-option str blue "7aa2f7" declare-option str magenta "bb9af7" declare-option str cyan "7dcfff" declare-option str comment "565f89" declare-option str selectionalpha "35" # Menus do not support transparency, so we must hardcode the selection + sub bg colors declare-option str menuselection "394667" # CODE set-face global value "rgb:%opt{orange}" set-face global type "rgb:%opt{yellow}" set-face global variable "rgb:%opt{fg}" set-face global module "rgb:%opt{yellow}" set-face global function "rgb:%opt{blue}" set-face global string "rgb:%opt{green}" set-face global keyword "rgb:%opt{magenta}" set-face global operator "rgb:%opt{red}" set-face global attribute "rgb:%opt{cyan}" set-face global comment "rgb:%opt{comment}" set-face global documentation "rgb:%opt{comment}" set-face global meta "rgb:%opt{cyan}" set-face global builtin "rgb:%opt{yellow}" # MARKUP set-face global title "rgb:%opt{orange}" set-face global header "rgb:%opt{green}" set-face global mono "rgb:%opt{cyan}" set-face global block "rgb:%opt{magenta}" set-face global link "rgb:%opt{blue}" set-face global bullet "rgb:%opt{yellow}" set-face global list "rgb:%opt{fg}" # BUILTIN set-face global Default "rgb:%opt{fg},rgb:%opt{bg}" set-face global PrimarySelection "default,rgba:%opt{blue}%opt{selectionalpha}" set-face global SecondarySelection "default,rgba:%opt{green}%opt{selectionalpha}" set-face global PrimaryCursor "rgb:%opt{bg},rgb:%opt{blue}" set-face global SecondaryCursor "rgb:%opt{bg},rgb:%opt{green}" set-face global PrimaryCursorEol "rgb:%opt{bg},rgb:%opt{red}" set-face global SecondaryCursorEol "rgb:%opt{bg},rgb:%opt{cyan}" set-face global LineNumbers "rgb:%opt{comment}" set-face global LineNumberCursor "rgb:%opt{orange}" set-face global LineNumbersWrapped "rgb:%opt{bg},rgb:%opt{bg}" set-face global MenuForeground "rgb:%opt{fg},rgb:%opt{menuselection}" set-face global MenuBackground "rgb:%opt{fg},rgb:%opt{subbg}" set-face global MenuInfo "rgb:%opt{green}" set-face global Information "rgb:%opt{fg},rgb:%opt{subbg}" set-face global Error "rgb:%opt{red}" set-face global StatusLine "rgb:%opt{fg},rgb:%opt{subbg}" set-face global StatusLineMode "rgb:%opt{orange}" set-face global StatusLineInfo "rgb:%opt{blue}" set-face global StatusLineValue "rgb:%opt{fg}" set-face global StatusCursor "rgb:%opt{bg},rgb:%opt{blue}" set-face global Prompt "rgb:%opt{blue}" set-face global MatchingChar +bu set-face global BufferPadding "rgb:%opt{bg},rgb:%opt{bg}" set-face global Whitespace "+d@comment" # OTHER set-face global SubBg ",rgb:%opt{subbg}" # PLUGINS # kak-lsp set-face global InlayHint "+d@type" set-face global parameter "+i@variable" set-face global enum "rgb:%opt{cyan}" set-face global InlayDiagnosticError "rgb:%opt{red}" set-face global InlayDiagnosticWarning "rgb:%opt{yellow}" set-face global InlayDiagnosticInfo "rgb:%opt{blue}" set-face global InlayDiagnosticHint "rgb:%opt{green}" set-face global LineFlagError "rgb:%opt{red}" set-face global LineFlagWarning "rgb:%opt{yellow}" set-face global LineFlagInfo "rgb:%opt{blue}" set-face global LineFlagHint "rgb:%opt{green}" set-face global DiagnosticError ",,rgb:%opt{red}+c" set-face global DiagnosticWarning ",,rgb:%opt{yellow}+c" set-face global DiagnosticInfo ",,rgb:%opt{blue}+c" set-face global DiagnosticHint ",,rgb:%opt{green}+c" # Infobox faces set-face global InfoDefault Information set-face global InfoBlock block set-face global InfoBlockQuote block set-face global InfoBullet bullet set-face global InfoHeader header set-face global InfoLink link set-face global InfoLinkMono header set-face global InfoMono mono set-face global InfoRule comment set-face global InfoDiagnosticError InlayDiagnosticError set-face global InfoDiagnosticHint InlayDiagnosticHint set-face global InfoDiagnosticInformation InlayDiagnosticInfo set-face global InfoDiagnosticWarning InlayDiagnosticWarning # kak-rainbower try %{ set-option global rainbow_colors "rgb:%opt{yellow}" "rgb:%opt{magenta}" "rgb:%opt{blue}" } # Tree-sitter () # kak-tree-sitter defaults set-face global ts_attribute attribute set-face global ts_comment comment set-face global ts_comment_unused comment set-face global ts_conceal meta # WTF is this? set-face global ts_constant value set-face global ts_constant_builtin_boolean ts_constant set-face global ts_constant_character ts_constant set-face global ts_constant_macro ts_constant set-face global ts_constructor ts_function set-face global ts_diff_plus "rgb:%opt{green}" set-face global ts_diff_minus "rgb:%opt{red}" set-face global ts_diff_delta "rgb:%opt{yellow}" set-face global ts_diff_delta_moved ts_diff_delta set-face global ts_error error set-face global ts_function function set-face global ts_function_builtin builtin set-face global ts_function_macro value set-face global ts_hint "rgb:%opt{cyan}" set-face global ts_info "rgb:%opt{blue}" set-face global ts_keyword keyword set-face global ts_keyword_conditional keyword set-face global ts_keyword_control_conditional keyword set-face global ts_keyword_control_directive keyword set-face global ts_keyword_control_import keyword set-face global ts_keyword_directive keyword set-face global ts_keyword_storage keyword set-face global ts_keyword_storage_modifier keyword set-face global ts_keyword_storage_modifier_mut keyword set-face global ts_keyword_storage_modifier_ref keyword set-face global ts_label meta set-face global ts_markup_bold "+b" set-face global ts_markup_heading "rgb:%opt{green}+b" set-face global ts_markup_italic "+i" set-face global ts_markup_list_checked "rgb:%opt{yellow}" set-face global ts_markup_list_numbered "rgb:%opt{yellow}" set-face global ts_markup_list_unchecked "rgb:%opt{yellow}" set-face global ts_markup_list_unnumbered "rgb:%opt{yellow}" set-face global ts_markup_link_label "rgb:%opt{blue}" set-face global ts_markup_link_url "rgb:%opt{blue}+iu" set-face global ts_markup_link_uri "rgb:%opt{blue}+iu" set-face global ts_markup_link_text "rgb:%opt{blue}" set-face global ts_markup_quote "+i" set-face global ts_markup_raw_block "rgb:%opt{magenta}" set-face global ts_markup_raw_inline "rgb:%opt{magenta}" set-face global ts_markup_strikethrough "+s" set-face global ts_namespace module set-face global ts_operator operator set-face global ts_property meta set-face global ts_punctuation operator set-face global ts_punctuation_special operator set-face global ts_special meta set-face global ts_spell ",,rgb:%opt{red}+c" set-face global ts_string string set-face global ts_string_regex ts_string set-face global ts_string_regexp ts_string set-face global ts_string_escape ts_string set-face global ts_string_special ts_string set-face global ts_string_special_path ts_string set-face global ts_string_special_symbol ts_string set-face global ts_string_symbol ts_string set-face global ts_tag attribute set-face global ts_tag_error ",,rgb:%opt{red}+c@ts_tag" set-face global ts_text default set-face global ts_text_title +b@default set-face global ts_type type set-face global ts_type_enum_variant value set-face global ts_type_enum_variant_builtin builtin set-face global ts_variable variable set-face global ts_variable_builtin builtin set-face global ts_variable_other_member variable set-face global ts_variable_parameter +i@variable set-face global ts_warning "rgb:%opt{yellow}" # Helix capture groups set-face global ts_punctuation_delimiter operator set-face global ts_punctuation_bracket operator set-face global ts_type_builtin builtin set-face global ts_type_parameter +i@variable set-face global ts_constant_builtin value set-face global ts_constant_character_escape value set-face global ts_constant_numeric value set-face global ts_string_special_url ts_markup_link_url set-face global ts_comment_block_documentation +i@comment set-face global ts_keyword_operator +i@keyword set-face global ts_markup_list "rgb:%opt{yellow}"