z_mirror/kak-tokyo-night
git clone https://git.raiguard.me/z_mirror/kak-tokyo-night
94323e8
main
1# COLORS 2 3declare-option str fg "c0caf5" 4declare-option str bg "1a1b26" 5declare-option str subbg "1f2335" 6 7declare-option str red "f7768e" 8declare-option str green "9ece6a" 9declare-option str yellow "e0af68" 10declare-option str orange "ff9e64" 11declare-option str blue "7aa2f7" 12declare-option str magenta "bb9af7" 13declare-option str cyan "7dcfff" 14 15declare-option str comment "565f89" 16 17declare-option str selectionalpha "35" 18 19# Menus do not support transparency, so we must hardcode the selection + sub bg colors 20declare-option str menuselection "394667" 21 22# CODE 23 24set-face global value "rgb:%opt{orange}" 25set-face global type "rgb:%opt{yellow}" 26set-face global variable "rgb:%opt{fg}" 27set-face global module "rgb:%opt{yellow}" 28set-face global function "rgb:%opt{blue}+i" 29set-face global string "rgb:%opt{green}" 30set-face global keyword "rgb:%opt{magenta}" 31set-face global operator "rgb:%opt{red}" 32set-face global attribute "rgb:%opt{cyan}" 33set-face global comment "rgb:%opt{comment}" 34set-face global documentation "rgb:%opt{comment}" 35set-face global meta "rgb:%opt{cyan}" 36set-face global builtin "rgb:%opt{yellow}" 37 38# MARKUP 39 40set-face global title "rgb:%opt{orange}" 41set-face global header "rgb:%opt{green}" 42set-face global mono "rgb:%opt{cyan}" 43set-face global block "rgb:%opt{magenta}" 44set-face global link "rgb:%opt{blue}" 45set-face global bullet "rgb:%opt{yellow}" 46set-face global list "rgb:%opt{fg}" 47 48# BUILTIN 49 50set-face global Default "rgb:%opt{fg},rgb:%opt{bg}" 51set-face global PrimarySelection "default,rgba:%opt{blue}%opt{selectionalpha}" 52set-face global SecondarySelection "default,rgba:%opt{green}%opt{selectionalpha}" 53set-face global PrimaryCursor "rgb:%opt{bg},rgb:%opt{blue}" 54set-face global SecondaryCursor "rgb:%opt{bg},rgb:%opt{green}" 55set-face global PrimaryCursorEol "rgb:%opt{bg},rgb:%opt{red}" 56set-face global SecondaryCursorEol "rgb:%opt{bg},rgb:%opt{cyan}" 57set-face global LineNumbers "rgb:%opt{comment}" 58set-face global LineNumberCursor "rgb:%opt{orange}" 59set-face global LineNumbersWrapped "rgb:%opt{bg},rgb:%opt{bg}" 60set-face global MenuForeground "rgb:%opt{fg},rgb:%opt{menuselection}" 61set-face global MenuBackground "rgb:%opt{fg},rgb:%opt{subbg}" 62set-face global MenuInfo "rgb:%opt{green}" 63set-face global Information "rgb:%opt{fg},rgb:%opt{subbg}" 64set-face global Error "rgb:%opt{red}" 65set-face global StatusLine "rgb:%opt{fg},rgb:%opt{subbg}" 66set-face global StatusLineMode "rgb:%opt{orange}" 67set-face global StatusLineInfo "rgb:%opt{blue}" 68set-face global StatusLineValue "rgb:%opt{fg}" 69set-face global StatusCursor "rgb:%opt{bg},rgb:%opt{blue}" 70set-face global Prompt "rgb:%opt{blue}" 71set-face global MatchingChar +bu 72set-face global BufferPadding "rgb:%opt{bg},rgb:%opt{bg}" 73set-face global Whitespace "+d@comment" 74 75# OTHER 76 77set-face global SubBg ",rgb:%opt{subbg}" 78 79# PLUGINS 80 81# kak-lsp 82set-face global InlayHint "+d@type" 83set-face global parameter "+i@variable" 84set-face global enum "rgb:%opt{cyan}" 85set-face global InlayDiagnosticError "rgb:%opt{red}" 86set-face global InlayDiagnosticWarning "rgb:%opt{yellow}" 87set-face global InlayDiagnosticInfo "rgb:%opt{blue}" 88set-face global InlayDiagnosticHint "rgb:%opt{green}" 89set-face global LineFlagError "rgb:%opt{red}" 90set-face global LineFlagWarning "rgb:%opt{yellow}" 91set-face global LineFlagInfo "rgb:%opt{blue}" 92set-face global LineFlagHint "rgb:%opt{green}" 93set-face global DiagnosticError ",,rgb:%opt{red}+c" 94set-face global DiagnosticWarning ",,rgb:%opt{yellow}+c" 95set-face global DiagnosticInfo ",,rgb:%opt{blue}+c" 96set-face global DiagnosticHint ",,rgb:%opt{green}+c" 97# Infobox faces 98set-face global InfoDefault Information 99set-face global InfoBlock block 100set-face global InfoBlockQuote block 101set-face global InfoBullet bullet 102set-face global InfoHeader header 103set-face global InfoLink link 104set-face global InfoLinkMono header 105set-face global InfoMono mono 106set-face global InfoRule comment 107set-face global InfoDiagnosticError InlayDiagnosticError 108set-face global InfoDiagnosticHint InlayDiagnosticHint 109set-face global InfoDiagnosticInformation InlayDiagnosticInfo 110set-face global InfoDiagnosticWarning InlayDiagnosticWarning 111 112# kak-rainbower 113try %{ set-option global rainbow_colors "rgb:%opt{yellow}" "rgb:%opt{magenta}" "rgb:%opt{blue}" }