kakoune: five-colors dark and light theme, use it
This commit is contained in:
125
kakoune/.config/kak/colors/five-colors-dark.kak
Normal file
125
kakoune/.config/kak/colors/five-colors-dark.kak
Normal file
@@ -0,0 +1,125 @@
|
|||||||
|
# Five colors dark theme
|
||||||
|
|
||||||
|
evaluate-commands %sh{
|
||||||
|
bg="rgb:272117"
|
||||||
|
bgmenu="rgb:282e38"
|
||||||
|
fg="rgb:a29e98"
|
||||||
|
gray="rgb:767778"
|
||||||
|
|
||||||
|
red1="rgb:f2a0ae"
|
||||||
|
red2="rgb:c37583"
|
||||||
|
red3="rgb:954c5b"
|
||||||
|
|
||||||
|
yellow1="rgb:dcb46e"
|
||||||
|
yellow2="rgb:af8842"
|
||||||
|
yellow3="rgb:845f10"
|
||||||
|
|
||||||
|
green1="rgb:73d0b1"
|
||||||
|
green2="rgb:44a386"
|
||||||
|
green3="rgb:04785d"
|
||||||
|
|
||||||
|
blue1="rgb:7fc3f5"
|
||||||
|
blue2="rgb:5396c7"
|
||||||
|
blue3="rgb:276c9a"
|
||||||
|
|
||||||
|
violet1="rgb:d2a8e8"
|
||||||
|
violet2="rgb:a57cba"
|
||||||
|
violet3="rgb:7b548e"
|
||||||
|
|
||||||
|
echo "
|
||||||
|
## CODE
|
||||||
|
|
||||||
|
set-face global value $violet2
|
||||||
|
set-face global type $green2
|
||||||
|
set-face global variable $yellow3
|
||||||
|
set-face global module $red3
|
||||||
|
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 $green1,$green3
|
||||||
|
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 $gray
|
||||||
|
set-face global LineNumbersWrapped $bg,$bg
|
||||||
|
set-face global MatchingChar $red1
|
||||||
|
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
|
||||||
|
"
|
||||||
|
}
|
||||||
125
kakoune/.config/kak/colors/five-colors-light.kak
Normal file
125
kakoune/.config/kak/colors/five-colors-light.kak
Normal file
@@ -0,0 +1,125 @@
|
|||||||
|
# Five colors dark theme
|
||||||
|
|
||||||
|
evaluate-commands %sh{
|
||||||
|
bg="rgb:faf8f5"
|
||||||
|
bgmenu="rgb:f6ede0"
|
||||||
|
fg="rgb:696257"
|
||||||
|
gray="rgb:c0c1c2"
|
||||||
|
|
||||||
|
red1="rgb:f9a6b5"
|
||||||
|
red2="rgb:d0818f"
|
||||||
|
red3="rgb:a95d6c"
|
||||||
|
|
||||||
|
yellow1="rgb:e3ba74"
|
||||||
|
yellow2="rgb:bc944f"
|
||||||
|
yellow3="rgb:967028"
|
||||||
|
|
||||||
|
green1="rgb:7ad6b7"
|
||||||
|
green2="rgb:52af92"
|
||||||
|
green3="rgb:278a6e"
|
||||||
|
|
||||||
|
blue1="rgb:85c9fc"
|
||||||
|
blue2="rgb:60a3d4"
|
||||||
|
blue3="rgb:3a7ead"
|
||||||
|
|
||||||
|
violet1="rgb:d9aeee"
|
||||||
|
violet2="rgb:b289c7"
|
||||||
|
violet3="rgb:8d65a1"
|
||||||
|
|
||||||
|
echo "
|
||||||
|
## CODE
|
||||||
|
|
||||||
|
set-face global value $violet2
|
||||||
|
set-face global type $green2
|
||||||
|
set-face global variable $yellow3
|
||||||
|
set-face global module $red3
|
||||||
|
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 $green1,$green3
|
||||||
|
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 $gray
|
||||||
|
set-face global LineNumbersWrapped $bg,$bg
|
||||||
|
set-face global MatchingChar $red1
|
||||||
|
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
|
||||||
|
"
|
||||||
|
}
|
||||||
@@ -32,8 +32,8 @@ map global -docstring 'Open/create in dir' file-mode 'c' ': open-create-in-dir<r
|
|||||||
|
|
||||||
map global -docstring 'Options' user 'o' ': enter-user-mode options-mode<ret>'
|
map global -docstring 'Options' user 'o' ': enter-user-mode options-mode<ret>'
|
||||||
|
|
||||||
map global -docstring 'LP Dark mode' options-mode 'd' ': colorscheme four-colors-dark<ret>'
|
map global -docstring 'LP Dark mode' options-mode 'd' ': colorscheme five-colors-dark<ret>'
|
||||||
map global -docstring 'LP Light mode' options-mode 'l' ': colorscheme four-colors-light<ret>'
|
map global -docstring 'LP Light mode' options-mode 'l' ': colorscheme five-colors-light<ret>'
|
||||||
map global -docstring 'Light mode' options-mode 'L' ': colorscheme one-light<ret>'
|
map global -docstring 'Light mode' options-mode 'L' ': colorscheme one-light<ret>'
|
||||||
map global -docstring 'Dark mode' options-mode 'D' ': colorscheme one-darker<ret>'
|
map global -docstring 'Dark mode' options-mode 'D' ': colorscheme one-darker<ret>'
|
||||||
|
|
||||||
@@ -82,7 +82,7 @@ set-face global JumpLabel 'rgb:faf8f5,rgb:af8842+F'
|
|||||||
# CHANGE STATUS BAR COLOR IN INSERT MODE
|
# CHANGE STATUS BAR COLOR IN INSERT MODE
|
||||||
|
|
||||||
hook global ModeChange push:.*:insert %{
|
hook global ModeChange push:.*:insert %{
|
||||||
set-face window StatusLine 'default,rgb:1c4a21'
|
set-face window StatusLine 'default,rgb:04785d'
|
||||||
}
|
}
|
||||||
|
|
||||||
hook global ModeChange pop:insert:.* %{
|
hook global ModeChange pop:insert:.* %{
|
||||||
@@ -205,8 +205,8 @@ bundle 'peneira' 'https://github.com/gustavo-hms/peneira' %{
|
|||||||
|
|
||||||
colorscheme %sh{
|
colorscheme %sh{
|
||||||
if [ -e ~/.lightmode ]; then
|
if [ -e ~/.lightmode ]; then
|
||||||
echo four-colors-light
|
echo five-colors-light
|
||||||
else
|
else
|
||||||
echo four-colors-dark
|
echo five-colors-dark
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user