kakoune: add five alt dark and light colorscheme

This commit is contained in:
lupan committed 2026-10-03 09:43:11 +02:00
1 parent 3bf95409c0
commit 22aac76dc7
3 files changed
+352

No files matched your search

@@ -0,0 +1,175 @@
# Five alt colors dark theme
evaluate-commands %sh{
bg="rgb:1c1120" # oklch(0.2 0.0333 317.4)
bgmenu="rgb:021921" # oklch(0.2 0.0333 222.6)
fg="rgb:7a9098" # oklch(0.6382 0.0284 222.6)
gray="rgb:938797" # oklch(0.6382 0.0284 317.4)
red1="rgb:b4745b" # oklch(0.6206 0.0886 42.6)
red2="rgb:9e5f46" # oklch(0.55 0.09 42.6)
red3="rgb:7b452e" # oklch(0.45 0.0826 42.6)
yellow1="rgb:9d8343" # oklch(0.6206 0.0886 87.6)
yellow2="rgb:886e2c" # oklch(0.55 0.09 87.6)
yellow3="rgb:695214" # oklch(0.45 0.0826 87.6)
green1="rgb:729259" # oklch(0.6206 0.0886 132.6)
green2="rgb:5d7d44" # oklch(0.55 0.09 132.6)
green3="rgb:435f2d" # oklch(0.45 0.0826 132.6)
blue1="rgb:4092ad" # oklch(0.6206 0.0886 222.6)
blue2="rgb:257d98" # oklch(0.55 0.09 222.6)
blue3="rgb:035f76" # oklch(0.45 0.0826 222.6)
violet1="rgb:9c75aa" # oklch(0.6206 0.0886 317.4)
violet2="rgb:876094" # oklch(0.55 0.09 317.4)
violet3="rgb:684673" # oklch(0.45 0.0826 317.4)
echo "
## CODE
set-face global value $violet2
set-face global type $green2
set-face global variable $yellow3
set-face global module $green1
set-face global function $blue2
set-face global string $yellow2
set-face global keyword $violet3
set-face global operator $red2
set-face global attribute $green3
set-face global comment $gray
set-face global documentation $gray
set-face global meta $blue3
set-face global builtin $violet1
## MARKUP
set-face global title $red3
set-face global header $violet3
set-face global mono $yellow2
set-face global block $blue3
set-face global link $blue2
set-face global bullet $red2
set-face global list $red2
## BUILTIN
set-face global Default $fg,$bg
set-face global PrimarySelection $bg,$green3
set-face global SecondarySelection $bg,$blue3
set-face global PrimaryCursor $bg,$green1
set-face global SecondaryCursor $bg,$blue1
set-face global PrimaryCursorEol $bg,$red1
set-face global SecondaryCursorEol $bg,$yellow1
set-face global MenuForeground $bgmenu,$yellow1
set-face global MenuBackground $fg,$bgmenu
set-face global MenuInfo $green2
set-face global Information $fg,$bgmenu
set-face global InlineInformation $blue2,$bgmenu
set-face global Error $red2
set-face global DiagnosticError default,default,$red2+c
set-face global DiagnosticWarning default,default,$yellow2+c
set-face global DiagnosticInfo default,default,$green2+c
set-face global DiagnosticHint default,default,$blue2+c
set-face global StatusLine $fg,$bgmenu
set-face global StatusLineMode $green2
set-face global StatusLineInfo $yellow2
set-face global StatusLineValue $blue2
set-face global StatusCursor $bg,$green1
set-face global Prompt $green2
set-face global BufferPadding $bg,$bg
# Built-in highlighter faces
set-face global LineNumbers $gray
set-face global LineNumberCursor $green3
set-face global LineNumbersWrapped $bg,$bg
set-face global MatchingChar $blue1
set-face global Whitespace $gray
set-face global WhitespaceIndent $gray
set-face global WrapMarker $yellow1
# PLUGINS
# kak-lsp
set-face global InfoDefault default
set-face global InfoBlock $green2
set-face global InfoBlockQuote $yellow2
set-face global InfoBullet $red2
set-face global InfoHeader $red3
set-face global InfoLink $blue2
set-face global InfoLinkMono $blue3
set-face global InfoMono $blue2
set-face global InfoRule $yellow2
set-face global InfoDiagnosticError $red2
set-face global InfoDiagnosticHint $blue2
set-face global InfoDiagnosticInformation $green2
set-face global InfoDiagnosticWarning $yellow2
set-face global LineFlagError $red2
set-face global LineFlagHint $blue2
set-face global LineFlagInfo $green2
set-face global LineFlagWarning $yellow2
set-face global InlayDiagnosticError $red2
set-face global InlayDiagnosticHint $blue2
set-face global InlayDiagnosticInfo $green2
set-face global InlayDiagnosticWarning $yellow2
set-face global SnippetsNextPlaceholders $bg,$green2
set-face global SnippetsOtherPlaceholders $bg,$yellow2
# kak-tree-sitter
set-face global ts_attribute $green3
set-face global ts_comment $gray
set-face global ts_constant $violet2
set-face global ts_conceal $red1
set-face global ts_constructor $red1
set-face global ts_diff_plus $green2
set-face global ts_diff_minus $red2
set-face global ts_diff_delta $blue2
set-face global ts_error $red2
set-face global ts_function $blue2
set-face global ts_hint $green2
set-face global ts_info $blue2
set-face global ts_keyword $violet3
set-face global ts_label $red1
set-face global ts_bold $green2+b
set-face global ts_markup_heading $red3
set-face global ts_markup_italic $green2+i
set-face global ts_markup_list_checked $red2
set-face global ts_markup_list_numbered $red2
set-face global ts_markup_list_unchecked $red2
set-face global ts_markup_list_unnumbered $red2
set-face global ts_markup_link_label $green2
set-face global ts_markup_link_url $blue2
set-face global ts_markup_link_uri $blue2
set-face global ts_markup_link_text $red1
set-face global ts_markup_quote $blue3
set-face global ts_markup_raw $yellow2
set-face global ts_markup_strikethrough $red2+s
set-face global ts_namespace $green3
set-face global ts_operator $red2
set-face global ts_property $green3
set-face global ts_punctuation $red3
set-face global ts_special $red3
set-face global ts_spell $red1+c
set-face global ts_string $yellow2
set-face global ts_string_regex $yellow1+b
set-face global ts_string_regexp $yellow1+b
set-face global ts_string_escape $yellow1+b
set-face global ts_string_special $yellow1+b
set-face global ts_string_symbol $yellow1+b
set-face global ts_tag $green2
set-face global ts_tag_error $red2+c
set-face global ts_text $red1
set-face global ts_text_title $red3
set-face global ts_type $green2
set-face global ts_variable $blue3
set-face global ts_warning $yellow2+c
"
}
@@ -0,0 +1,175 @@
# Five alt colors light theme
evaluate-commands %sh{
bg="rgb:f2eee5" # oklch(0.95 0.0133 87.6)
bgmenu="rgb:f8eed6" # oklch(0.95 0.0333 87.6)
fg="rgb:7a9098" # oklch(0.6382 0.0284 222.6)
gray="rgb:938797" # oklch(0.6382 0.0284 317.4)
red1="rgb:b4745b" # oklch(0.6206 0.0886 42.6)
red2="rgb:9e5f46" # oklch(0.55 0.09 42.6)
red3="rgb:7b452e" # oklch(0.45 0.0826 42.6)
yellow1="rgb:9d8343" # oklch(0.6206 0.0886 87.6)
yellow2="rgb:886e2c" # oklch(0.55 0.09 87.6)
yellow3="rgb:695214" # oklch(0.45 0.0826 87.6)
green1="rgb:729259" # oklch(0.6206 0.0886 132.6)
green2="rgb:5d7d44" # oklch(0.55 0.09 132.6)
green3="rgb:435f2d" # oklch(0.45 0.0826 132.6)
blue1="rgb:4092ad" # oklch(0.6206 0.0886 222.6)
blue2="rgb:257d98" # oklch(0.55 0.09 222.6)
blue3="rgb:035f76" # oklch(0.45 0.0826 222.6)
violet1="rgb:9c75aa" # oklch(0.6206 0.0886 317.4)
violet2="rgb:876094" # oklch(0.55 0.09 317.4)
violet3="rgb:684673" # oklch(0.45 0.0826 317.4)
echo "
## CODE
set-face global value $violet2
set-face global type $green2
set-face global variable $yellow3
set-face global module $green1
set-face global function $blue2
set-face global string $yellow2
set-face global keyword $violet3
set-face global operator $red2
set-face global attribute $green3
set-face global comment $gray
set-face global documentation $gray
set-face global meta $blue3
set-face global builtin $violet1
## MARKUP
set-face global title $red3
set-face global header $violet3
set-face global mono $yellow2
set-face global block $blue3
set-face global link $blue2
set-face global bullet $red2
set-face global list $red2
## BUILTIN
set-face global Default $fg,$bg
set-face global PrimarySelection $bg,$green3
set-face global SecondarySelection $bg,$blue3
set-face global PrimaryCursor $bg,$green1
set-face global SecondaryCursor $bg,$blue1
set-face global PrimaryCursorEol $bg,$red1
set-face global SecondaryCursorEol $bg,$yellow1
set-face global MenuForeground $bgmenu,$yellow1
set-face global MenuBackground $fg,$bgmenu
set-face global MenuInfo $green2
set-face global Information $fg,$bgmenu
set-face global InlineInformation $blue2,$bgmenu
set-face global Error $red2
set-face global DiagnosticError default,default,$red2+c
set-face global DiagnosticWarning default,default,$yellow2+c
set-face global DiagnosticInfo default,default,$green2+c
set-face global DiagnosticHint default,default,$blue2+c
set-face global StatusLine $fg,$bgmenu
set-face global StatusLineMode $green2
set-face global StatusLineInfo $yellow2
set-face global StatusLineValue $blue2
set-face global StatusCursor $bg,$green1
set-face global Prompt $green2
set-face global BufferPadding $bg,$bg
# Built-in highlighter faces
set-face global LineNumbers $gray
set-face global LineNumberCursor $green3
set-face global LineNumbersWrapped $bg,$bg
set-face global MatchingChar $blue1
set-face global Whitespace $gray
set-face global WhitespaceIndent $gray
set-face global WrapMarker $yellow1
# PLUGINS
# kak-lsp
set-face global InfoDefault default
set-face global InfoBlock $green2
set-face global InfoBlockQuote $yellow2
set-face global InfoBullet $red2
set-face global InfoHeader $red3
set-face global InfoLink $blue2
set-face global InfoLinkMono $blue3
set-face global InfoMono $blue2
set-face global InfoRule $yellow2
set-face global InfoDiagnosticError $red2
set-face global InfoDiagnosticHint $blue2
set-face global InfoDiagnosticInformation $green2
set-face global InfoDiagnosticWarning $yellow2
set-face global LineFlagError $red2
set-face global LineFlagHint $blue2
set-face global LineFlagInfo $green2
set-face global LineFlagWarning $yellow2
set-face global InlayDiagnosticError $red2
set-face global InlayDiagnosticHint $blue2
set-face global InlayDiagnosticInfo $green2
set-face global InlayDiagnosticWarning $yellow2
set-face global SnippetsNextPlaceholders $bg,$green2
set-face global SnippetsOtherPlaceholders $bg,$yellow2
# kak-tree-sitter
set-face global ts_attribute $green3
set-face global ts_comment $gray
set-face global ts_constant $violet2
set-face global ts_conceal $red1
set-face global ts_constructor $red1
set-face global ts_diff_plus $green2
set-face global ts_diff_minus $red2
set-face global ts_diff_delta $blue2
set-face global ts_error $red2
set-face global ts_function $blue2
set-face global ts_hint $green2
set-face global ts_info $blue2
set-face global ts_keyword $violet3
set-face global ts_label $red1
set-face global ts_bold $green2+b
set-face global ts_markup_heading $red3
set-face global ts_markup_italic $green2+i
set-face global ts_markup_list_checked $red2
set-face global ts_markup_list_numbered $red2
set-face global ts_markup_list_unchecked $red2
set-face global ts_markup_list_unnumbered $red2
set-face global ts_markup_link_label $green2
set-face global ts_markup_link_url $blue2
set-face global ts_markup_link_uri $blue2
set-face global ts_markup_link_text $red1
set-face global ts_markup_quote $blue3
set-face global ts_markup_raw $yellow2
set-face global ts_markup_strikethrough $red2+s
set-face global ts_namespace $green3
set-face global ts_operator $red2
set-face global ts_property $green3
set-face global ts_punctuation $red3
set-face global ts_special $red3
set-face global ts_spell $red1+c
set-face global ts_string $yellow2
set-face global ts_string_regex $yellow1+b
set-face global ts_string_regexp $yellow1+b
set-face global ts_string_escape $yellow1+b
set-face global ts_string_special $yellow1+b
set-face global ts_string_symbol $yellow1+b
set-face global ts_tag $green2
set-face global ts_tag_error $red2+c
set-face global ts_text $red1
set-face global ts_text_title $red3
set-face global ts_type $green2
set-face global ts_variable $blue3
set-face global ts_warning $yellow2+c
"
}
+2
View File
@@ -77,6 +77,8 @@ map global -docstring 'Options' user 'o' ': enter-user-mode options-mode<ret>'
map global -docstring 'Five Dark mode' options-mode 'd' ': colorscheme five-colors-dark<ret>'
map global -docstring 'Five Light mode' options-mode 'l' ': colorscheme five-colors-light<ret>'
map global -docstring 'Five Alt Dark mode' options-mode 'a' ': colorscheme five-alt-colors-dark<ret>'
map global -docstring 'Five Alt Light mode' options-mode 'b' ': colorscheme five-alt-colors-light<ret>'
map global -docstring 'Fifteen Dark mode' options-mode 'D' ': colorscheme fifteen-colors-dark<ret>'
map global -docstring 'Fifteen Light mode' options-mode 'L' ': colorscheme fifteen-colors-light<ret>'