You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
121 lines
4.7 KiB
121 lines
4.7 KiB
2 years ago
|
# One Light
|
||
|
|
||
|
declare-option str fg "4b4c54"
|
||
|
declare-option str bg "fafafa"
|
||
|
declare-option str subbg "e6e6e6"
|
||
|
|
||
|
declare-option str lightred "e45649"
|
||
|
declare-option str darkred "ca1243"
|
||
|
declare-option str green "50a14f"
|
||
|
declare-option str lightorange "c18401"
|
||
|
declare-option str darkorange "986801"
|
||
|
declare-option str blue "4078f2"
|
||
|
declare-option str magenta "a626a4"
|
||
|
declare-option str cyan "0184bc"
|
||
|
|
||
|
declare-option str comment "a0a1a7"
|
||
|
declare-option str hint "000000"
|
||
|
|
||
|
declare-option str cursoralpha "80"
|
||
|
declare-option str selectionalpha "40"
|
||
|
|
||
|
# Menus do not support transparency, so we must hardcode the selection + sub bg colors
|
||
|
declare-option str menuselection "bbc9e8"
|
||
|
|
||
|
# CODE
|
||
|
|
||
|
set-face global value "rgb:%opt{darkorange}"
|
||
|
set-face global type "rgb:%opt{lightorange}"
|
||
|
set-face global variable "rgb:%opt{lightred}"
|
||
|
set-face global module "rgb:%opt{lightorange}"
|
||
|
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{fg}"
|
||
|
set-face global attribute "rgb:%opt{magenta}"
|
||
|
set-face global comment "rgb:%opt{comment}"
|
||
|
set-face global documentation "rgb:%opt{comment}"
|
||
|
set-face global meta "rgb:%opt{lightred}"
|
||
|
set-face global builtin "rgb:%opt{lightorange}"
|
||
|
|
||
|
# MARKUP
|
||
|
|
||
|
set-face global title "rgb:%opt{darkorange}"
|
||
|
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{lightorange}"
|
||
|
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 "default,rgba:%opt{blue}%opt{cursoralpha}"
|
||
|
set-face global SecondaryCursor "default,rgba:%opt{green}%opt{cursoralpha}"
|
||
|
set-face global PrimaryCursorEol "default,rgba:%opt{lightred}%opt{cursoralpha}"
|
||
|
set-face global SecondaryCursorEol "default,rgba:%opt{darkorange}%opt{cursoralpha}"
|
||
|
set-face global LineNumbers "rgb:%opt{comment}"
|
||
|
set-face global LineNumberCursor "rgb:%opt{darkorange}"
|
||
|
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{lightred}"
|
||
|
set-face global StatusLine "rgb:%opt{fg},rgb:%opt{subbg}"
|
||
|
set-face global StatusLineMode "rgb:%opt{darkorange}"
|
||
|
set-face global StatusLineInfo "rgb:%opt{blue}"
|
||
|
set-face global StatusLineValue "rgb:%opt{fg}"
|
||
|
set-face global StatusCursor "default,rgba:%opt{blue}%opt{cursoralpha}"
|
||
|
set-face global Prompt "rgb:%opt{blue}"
|
||
|
set-face global MatchingChar "default,rgb:%opt{subbg}"
|
||
|
set-face global BufferPadding "rgb:%opt{bg},rgb:%opt{bg}"
|
||
|
set-face global Whitespace "rgb:%opt{comment}"
|
||
|
|
||
|
# PLUGINS
|
||
|
|
||
|
# kak-lsp
|
||
|
set-face global InlayHint "rgb:%opt{comment}"
|
||
|
set-face global parameter "rgb:%opt{lightred}+i"
|
||
|
set-face global enum "rgb:%opt{cyan}"
|
||
|
set-face global InlayDiagnosticError "rgb:%opt{lightred}"
|
||
|
set-face global InlayDiagnosticWarning "rgb:%opt{lightorange}"
|
||
|
set-face global InlayDiagnosticInfo "rgb:%opt{blue}"
|
||
|
set-face global InlayDiagnosticHint "rgb:%opt{hint}"
|
||
|
set-face global LineFlagError "rgb:%opt{lightred}"
|
||
|
set-face global LineFlagWarning "rgb:%opt{lightorange}"
|
||
|
set-face global LineFlagInfo "rgb:%opt{blue}"
|
||
|
set-face global LineFlagHint "rgb:%opt{hint}"
|
||
|
# Not all terminals support curly underlines, so use regular ones by default
|
||
|
set-face global DiagnosticError "default+u"
|
||
|
set-face global DiagnosticWarning "default+u"
|
||
|
set-face global DiagnosticInfo "default+u"
|
||
|
set-face global DiagnosticHint "default+u"
|
||
|
define-command -override one-enable-fancy-underlines %{
|
||
|
set-face global DiagnosticError ",,rgb:%opt{lightred}+c"
|
||
|
set-face global DiagnosticWarning ",,rgb:%opt{lightorange}+c"
|
||
|
set-face global DiagnosticInfo ",,rgb:%opt{blue}+c"
|
||
|
set-face global DiagnosticHint ",,rgb:%opt{hint}+u"
|
||
|
}
|
||
|
# 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:daa520" "rgb:9932cc" "rgb:00bfff" }
|
||
|
|