From 3517b6b4567e3413a394cd1cbf97818d8ec31cf9 Mon Sep 17 00:00:00 2001 From: Madeleine Date: Sun, 23 Apr 2023 13:51:44 +0100 Subject: [PATCH] add kakoune colorschemes --- maddie/common/kakoune.nix | 6 +- maddie/common/kakoune/colors/one-dark-16.kak | 93 +++++++++++++ maddie/common/kakoune/colors/one-dark.kak | 117 ++++++++++++++++ .../common/kakoune/colors/one-darker-16.kak | 101 ++++++++++++++ maddie/common/kakoune/colors/one-darker.kak | 125 ++++++++++++++++++ maddie/common/kakoune/colors/one-light-16.kak | 93 +++++++++++++ maddie/common/kakoune/colors/one-light.kak | 117 ++++++++++++++++ 7 files changed, 651 insertions(+), 1 deletion(-) create mode 100644 maddie/common/kakoune/colors/one-dark-16.kak create mode 100644 maddie/common/kakoune/colors/one-dark.kak create mode 100644 maddie/common/kakoune/colors/one-darker-16.kak create mode 100644 maddie/common/kakoune/colors/one-darker.kak create mode 100644 maddie/common/kakoune/colors/one-light-16.kak create mode 100644 maddie/common/kakoune/colors/one-light.kak diff --git a/maddie/common/kakoune.nix b/maddie/common/kakoune.nix index c90418f..c8b96ba 100644 --- a/maddie/common/kakoune.nix +++ b/maddie/common/kakoune.nix @@ -71,5 +71,9 @@ set-option global modelinefmt '%opt{lsp_modeline_progress} {StatusLine}{string}%opt{modeline_git_branch}{type}%sh{ [ -n "$kak_opt_filetype" ] && echo "$kak_opt_filetype " }{default}%val{bufname}{{context_info}}{default} {{mode_info}} {meta}%val{cursor_line}:%val{cursor_char_column}' ''; - }; + + xdg.configFile."kak/colors" = { + source = ./kakoune/colors; + recursive = true; + }; } diff --git a/maddie/common/kakoune/colors/one-dark-16.kak b/maddie/common/kakoune/colors/one-dark-16.kak new file mode 100644 index 0000000..ec8da3d --- /dev/null +++ b/maddie/common/kakoune/colors/one-dark-16.kak @@ -0,0 +1,93 @@ +# CODE + +set-face global value yellow +set-face global type yellow +set-face global variable red +set-face global module yellow +set-face global function blue +set-face global string green +set-face global keyword magenta +set-face global operator white +set-face global attribute cyan +set-face global comment white+d +set-face global documentation white+d +set-face global meta cyan +set-face global builtin yellow + +# MARKUP + +set-face global title yellow +set-face global header green +set-face global mono cyan +set-face global block magenta +set-face global link blue +set-face global bullet yellow +set-face global list white + +# BUILTIN + +set-face global Default white +set-face global PrimarySelection black,blue +set-face global SecondarySelection black,green +set-face global PrimaryCursor black,white +set-face global SecondaryCursor black,cyan +set-face global PrimaryCursorEol black,red +set-face global SecondaryCursorEol black,red +set-face global LineNumbers white +set-face global LineNumberCursor yellow +set-face global LineNumbersWrapped black +set-face global MenuForeground blue +set-face global MenuBackground default +set-face global MenuInfo green +set-face global Information default +set-face global Error red +set-face global StatusLine default +set-face global StatusLineMode yellow +set-face global StatusLineInfo blue +set-face global StatusLineValue white +set-face global StatusCursor black,blue +set-face global Prompt blue +set-face global MatchingChar +bu +set-face global BufferPadding black +set-face global Whitespace white+d + +# PLUGINS + +# kak-lsp +set-face global InlayHint +d@type +set-face global parameter +i@variable +set-face global enum cyan +set-face global InlayDiagnosticError red +set-face global InlayDiagnosticWarning yellow +set-face global InlayDiagnosticInfo blue +set-face global InlayDiagnosticHint white +set-face global LineFlagError red +set-face global LineFlagWarning yellow +set-face global LineFlagInfo blue +set-face global LineFlagHint white +set-face global DiagnosticError +u +set-face global DiagnosticWarning +u +set-face global DiagnosticInfo +u +set-face global DiagnosticHint +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 yellow magenta blue } + +# For backwards compatibility +define-command -override -hidden one-enable-fancy-underlines %{ + echo -debug "one-enable-fancy-underlines is deprecated - curly underlines are enabled by default" +} diff --git a/maddie/common/kakoune/colors/one-dark.kak b/maddie/common/kakoune/colors/one-dark.kak new file mode 100644 index 0000000..f7e719e --- /dev/null +++ b/maddie/common/kakoune/colors/one-dark.kak @@ -0,0 +1,117 @@ +# One Dark + +declare-option str fg "abb2bf" +declare-option str bg "282c34" +declare-option str subbg "373c47" + +declare-option str lightred "e06c75" +declare-option str darkred "be5046" +declare-option str green "98c379" +declare-option str lightorange "e5c07b" +declare-option str darkorange "d19a66" +declare-option str blue "61afef" +declare-option str magenta "c678dd" +declare-option str cyan "56b6c2" + +declare-option str comment "5c6370" +declare-option str hint "ffffff" + +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 "405770" + +# 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{cyan}" +set-face global comment "rgb:%opt{comment}" +set-face global documentation "rgb:%opt{comment}" +set-face global meta "rgb:%opt{cyan}" +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 "+d@type" +set-face global parameter "+i@variable" +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}" +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:%opt{lightorange}" "rgb:%opt{magenta}" "rgb:%opt{blue}" } + +# For backwards compatibility +define-command -override -hidden one-enable-fancy-underlines %{ + echo -debug "one-enable-fancy-underlines is deprecated - curly underlines are enabled by default" +} diff --git a/maddie/common/kakoune/colors/one-darker-16.kak b/maddie/common/kakoune/colors/one-darker-16.kak new file mode 100644 index 0000000..6d5dc56 --- /dev/null +++ b/maddie/common/kakoune/colors/one-darker-16.kak @@ -0,0 +1,101 @@ +# CODE + +set-face global value yellow +set-face global type yellow +set-face global variable white +set-face global module yellow +set-face global function blue +set-face global string green +set-face global keyword magenta +set-face global operator red +set-face global attribute cyan +set-face global comment white+d +set-face global documentation white+d +set-face global meta cyan +set-face global builtin yellow + +# MARKUP + +set-face global title yellow +set-face global header green +set-face global mono cyan +set-face global block magenta +set-face global link blue +set-face global bullet yellow +set-face global list white + +# BUILTIN + +set-face global Default white +set-face global PrimarySelection black,blue +set-face global SecondarySelection black,green +set-face global PrimaryCursor black,white +set-face global SecondaryCursor black,cyan +set-face global PrimaryCursorEol black,red +set-face global SecondaryCursorEol black,red +set-face global LineNumbers white +set-face global LineNumberCursor yellow +set-face global LineNumbersWrapped black +set-face global MenuForeground blue +set-face global MenuBackground default +set-face global MenuInfo green +set-face global Information default +set-face global Error red +set-face global StatusLine default +set-face global StatusLineMode yellow +set-face global StatusLineInfo blue +set-face global StatusLineValue white +set-face global StatusCursor black,blue +set-face global Prompt blue +set-face global MatchingChar +bu +set-face global BufferPadding black +set-face global Whitespace white+d + +# PLUGINS + +# kak-lsp +set-face global InlayHint +d@type +set-face global parameter +i@variable +set-face global enum cyan +set-face global InlayDiagnosticError red +set-face global InlayDiagnosticWarning yellow +set-face global InlayDiagnosticInfo blue +set-face global InlayDiagnosticHint white +set-face global LineFlagError red +set-face global LineFlagWarning yellow +set-face global LineFlagInfo blue +set-face global LineFlagHint white +set-face global DiagnosticError +u +set-face global DiagnosticWarning +u +set-face global DiagnosticInfo +u +set-face global DiagnosticHint +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 yellow magenta blue } + +# For backwards compatibility +define-command -override -hidden one-enable-fancy-underlines %{ + echo -debug "one-enable-fancy-underlines is deprecated - curly underlines are enabled by default" +} + +# Hardcoded selection + bg colors +# set-face global PrimarySelection default,rgb:2a3f53 +# set-face global SecondarySelection default,rgb:384435 +# set-face global PrimaryCursor default,rgb:3c6487 +# set-face global SecondaryCursor default,rgb:586e4c +# set-face global PrimaryCursorEol default,rgb:7c434a +# set-face global SecondaryCursorEol default,rgb:7c434a diff --git a/maddie/common/kakoune/colors/one-darker.kak b/maddie/common/kakoune/colors/one-darker.kak new file mode 100644 index 0000000..f92265b --- /dev/null +++ b/maddie/common/kakoune/colors/one-darker.kak @@ -0,0 +1,125 @@ +# One Darker +# This theme is a personalized implementation of One Dark. +# Changes include: +# - Darker background color +# - Variables are white instead of red +# - Operators are red instead of white +# - Comments are more visible + +# COLORS + +declare-option str fg "abb2bf" +declare-option str bg "181a1f" +declare-option str subbg "272b33" + +declare-option str lightred "e06c75" +declare-option str darkred "be5046" +declare-option str green "98c379" +declare-option str lightorange "e5c07b" +declare-option str darkorange "d19a66" +declare-option str blue "61afef" +declare-option str magenta "c678dd" +declare-option str cyan "56b6c2" + +declare-option str comment "70798a" +declare-option str hint "ffffff" + +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 "344b61" + +# CODE + +set-face global value "rgb:%opt{darkorange}" +set-face global type "rgb:%opt{lightorange}" +set-face global variable "rgb:%opt{fg}" +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{lightred}" +set-face global attribute "rgb:%opt{cyan}" +set-face global comment "rgb:%opt{comment}" +set-face global documentation "rgb:%opt{comment}" +set-face global meta "rgb:%opt{cyan}" +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 "+d@type" +set-face global parameter "+i@variable" +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}" +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:%opt{lightorange}" "rgb:%opt{magenta}" "rgb:%opt{blue}" } + +# For backwards compatibility +define-command -override -hidden one-enable-fancy-underlines %{ + echo -debug "one-enable-fancy-underlines is deprecated - curly underlines are enabled by default" +} diff --git a/maddie/common/kakoune/colors/one-light-16.kak b/maddie/common/kakoune/colors/one-light-16.kak new file mode 100644 index 0000000..60e1689 --- /dev/null +++ b/maddie/common/kakoune/colors/one-light-16.kak @@ -0,0 +1,93 @@ +# CODE + +set-face global value yellow +set-face global type yellow +set-face global variable red +set-face global module yellow +set-face global function blue +set-face global string green +set-face global keyword magenta +set-face global operator black +set-face global attribute cyan +set-face global comment black+d +set-face global documentation black+d +set-face global meta cyan +set-face global builtin yellow + +# MARKUP + +set-face global title yellow +set-face global header green +set-face global mono cyan +set-face global block magenta +set-face global link blue +set-face global bullet yellow +set-face global list white + +# BUILTIN + +set-face global Default black +set-face global PrimarySelection black,blue +set-face global SecondarySelection black,green +set-face global PrimaryCursor black,white +set-face global SecondaryCursor black,cyan +set-face global PrimaryCursorEol black,red +set-face global SecondaryCursorEol black,red +set-face global LineNumbers black +set-face global LineNumberCursor yellow +set-face global LineNumbersWrapped white +set-face global MenuForeground blue +set-face global MenuBackground default +set-face global MenuInfo green +set-face global Information default +set-face global Error red +set-face global StatusLine default +set-face global StatusLineMode yellow +set-face global StatusLineInfo blue +set-face global StatusLineValue white +set-face global StatusCursor black,blue +set-face global Prompt blue +set-face global MatchingChar +bu +set-face global BufferPadding white +set-face global Whitespace black+d + +# PLUGINS + +# kak-lsp +set-face global InlayHint +d@type +set-face global parameter +i@variable +set-face global enum cyan +set-face global InlayDiagnosticError red +set-face global InlayDiagnosticWarning yellow +set-face global InlayDiagnosticInfo blue +set-face global InlayDiagnosticHint white +set-face global LineFlagError red +set-face global LineFlagWarning yellow +set-face global LineFlagInfo blue +set-face global LineFlagHint white +set-face global DiagnosticError +u +set-face global DiagnosticWarning +u +set-face global DiagnosticInfo +u +set-face global DiagnosticHint +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 yellow magenta blue } + +# For backwards compatibility +define-command -override -hidden one-enable-fancy-underlines %{ + echo -debug "one-enable-fancy-underlines is deprecated - curly underlines are enabled by default" +} diff --git a/maddie/common/kakoune/colors/one-light.kak b/maddie/common/kakoune/colors/one-light.kak new file mode 100644 index 0000000..79e6ca1 --- /dev/null +++ b/maddie/common/kakoune/colors/one-light.kak @@ -0,0 +1,117 @@ +# 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{cyan}" +set-face global comment "rgb:%opt{comment}" +set-face global documentation "rgb:%opt{comment}" +set-face global meta "rgb:%opt{cyan}" +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 "+d@type" +set-face global parameter "+i@variable" +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}" +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:%opt{lightorange}" "rgb:%opt{magenta}" "rgb:%opt{blue}" } + +# For backwards compatibility +define-command -override -hidden one-enable-fancy-underlines %{ + echo -debug "one-enable-fancy-underlines is deprecated - curly underlines are enabled by default" +}