Load default.kak as default color scheme
This commit is contained in:
parent
fddfb1a2af
commit
0674a56af2
42
colors/default.kak
Normal file
42
colors/default.kak
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
# Kakoune default color scheme
|
||||||
|
|
||||||
|
# For Code
|
||||||
|
face value red
|
||||||
|
face type yellow
|
||||||
|
face identifier green
|
||||||
|
face string magenta
|
||||||
|
face error default,red
|
||||||
|
face keyword blue
|
||||||
|
face operator yellow
|
||||||
|
face attribute green
|
||||||
|
face comment cyan
|
||||||
|
face meta magenta
|
||||||
|
|
||||||
|
# For markup
|
||||||
|
face title blue
|
||||||
|
face header cyan
|
||||||
|
face bold red
|
||||||
|
face italic yellow
|
||||||
|
face mono green
|
||||||
|
face block magenta
|
||||||
|
face link cyan
|
||||||
|
face bullet cyan
|
||||||
|
face list yellow
|
||||||
|
|
||||||
|
# builtin faces
|
||||||
|
face Default default,default
|
||||||
|
face PrimarySelection white,blue
|
||||||
|
face SecondarySelection black,blue
|
||||||
|
face PrimaryCursor black,white
|
||||||
|
face SecondaryCursor black,white
|
||||||
|
face LineNumbers default,default
|
||||||
|
face LineNumberCursor default,default+r
|
||||||
|
face MenuForeground white,blue
|
||||||
|
face MenuBackground blue,white
|
||||||
|
face Information black,yellow
|
||||||
|
face Error black,red
|
||||||
|
face StatusLine cyan,default
|
||||||
|
face StatusCursor black,cyan
|
||||||
|
face Prompt yellow,default
|
||||||
|
face MatchingChar default,default+b
|
||||||
|
face Search default,default+u
|
|
@ -1,28 +1,3 @@
|
||||||
# define color scheme
|
|
||||||
#
|
|
||||||
# For Code
|
|
||||||
face value red
|
|
||||||
face type yellow
|
|
||||||
face identifier green
|
|
||||||
face string magenta
|
|
||||||
face error default,red
|
|
||||||
face keyword blue
|
|
||||||
face operator yellow
|
|
||||||
face attribute green
|
|
||||||
face comment cyan
|
|
||||||
face meta magenta
|
|
||||||
|
|
||||||
# For markup
|
|
||||||
face title blue
|
|
||||||
face header cyan
|
|
||||||
face bold red
|
|
||||||
face italic yellow
|
|
||||||
face mono green
|
|
||||||
face block magenta
|
|
||||||
face link cyan
|
|
||||||
face bullet cyan
|
|
||||||
face list yellow
|
|
||||||
|
|
||||||
def -shell-params runtime %{ %sh{
|
def -shell-params runtime %{ %sh{
|
||||||
while [ $# -gt 0 ]; do
|
while [ $# -gt 0 ]; do
|
||||||
echo "source '${kak_runtime}/$1'"
|
echo "source '${kak_runtime}/$1'"
|
||||||
|
@ -67,6 +42,9 @@ def -shell-params -docstring "colorscheme <name>: enable named colorscheme" \
|
||||||
}
|
}
|
||||||
|
|
||||||
localconfdir=${XDG_CONFIG_HOME:-${HOME}/.config}/kak
|
localconfdir=${XDG_CONFIG_HOME:-${HOME}/.config}/kak
|
||||||
|
|
||||||
|
echo "colorscheme default"
|
||||||
|
|
||||||
if [ -d "${localconfdir}/autoload" ]; then
|
if [ -d "${localconfdir}/autoload" ]; then
|
||||||
autoload ${localconfdir}/autoload
|
autoload ${localconfdir}/autoload
|
||||||
elif [ -d "${kak_runtime}/autoload" ]; then
|
elif [ -d "${kak_runtime}/autoload" ]; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user